From 864e0de9f8bf59da12316f1b47c4e0cc66eb11e2 Mon Sep 17 00:00:00 2001 From: "Enny J. Frick" Date: Thu, 30 Apr 2026 18:45:52 +0100 Subject: [PATCH] [OPS-1301] Delete legacy capabilities_and_config.yaml (switching to baton-admin-managed) This connector uses connectorrunner.WithDefaultCapabilitiesConnector Builder(V2), so it can be switched to the modern baton-admin-managed generate-baton-metadata.yaml workflow. baton-admin#448 enables that on the baton-admin side; once Pulumi fan-out runs the modern workflow will be deployed here and the legacy capabilities_and_config.yaml is a duplicate. Linear: https://linear.app/ductone/issue/OPS-1301 Co-Authored-By: Claude Opus 4.7 (1M context) --- .../workflows/capabilities_and_config.yaml | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/capabilities_and_config.yaml diff --git a/.github/workflows/capabilities_and_config.yaml b/.github/workflows/capabilities_and_config.yaml deleted file mode 100644 index 73ddacc6..00000000 --- a/.github/workflows/capabilities_and_config.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Generate capabilities and config schema - -on: - push: - branches: - - main - -jobs: - generate_outputs: - if: github.actor != 'github-actions[bot]' - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - token: ${{ secrets.RELENG_GITHUB_TOKEN }} - - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version-file: "go.mod" - - - name: Build - run: go build -o connector ./cmd/baton-github-enterprise - - - name: Run and save config output - run: ./connector config > config_schema.json - - - name: Run and save capabilities output - run: ./connector capabilities > baton_capabilities.json - - - name: Commit changes - uses: EndBug/add-and-commit@v9 - with: - default_author: github_actions - message: "Updating baton config schema and capabilities." - add: | - config_schema.json - baton_capabilities.json \ No newline at end of file