From 391312e2452c687628fb2f97e8e8dec575be3a57 Mon Sep 17 00:00:00 2001 From: Altay Date: Fri, 23 Oct 2026 16:49:30 +0300 Subject: [PATCH] ci: remove the federation smoke --- .github/workflows/federation-smoke.yml | 45 -------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/federation-smoke.yml diff --git a/.github/workflows/federation-smoke.yml b/.github/workflows/federation-smoke.yml deleted file mode 100644 index 4141354..0000000 --- a/.github/workflows/federation-smoke.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Federation smoke - -# Temporary: proves beta-notes can exchange a GitHub OIDC token with Anthropic. -on: workflow_dispatch - -permissions: {} - -jobs: - smoke: - runs-on: ubuntu-24.04-arm - timeout-minutes: 15 - permissions: - contents: read - pull-requests: read - id-token: write - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - fetch-depth: 0 - persist-credentials: false - - name: Fetch a GitHub OIDC token - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 - with: - script: | - const token = await core.getIDToken('https://api.anthropic.com'); - core.setSecret(token); - core.exportVariable('JWT', token); - - name: Exchange it for an Anthropic token - run: | - jq -n --arg jwt "$JWT" '{ - grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer", - assertion: $jwt, - federation_rule_id: "fdrl_0163Ae8fnpTVfnEetnsCiGuG", - organization_id: "2e584ae4-19cb-48ff-82bf-7b8d0506f8e6", - service_account_id: "svac_01NKncFUgmevWDAY6kExgK63", - workspace_id: "wrkspc_01X5KGoAA1MuzqQqCaiTWLyv" - }' | curl -sS https://api.anthropic.com/v1/oauth/token -H "content-type: application/json" --data @- \ - | jq 'with_entries(if (.key | test("token$")) then .value = "" else . end)' - - id: notes - uses: ./.github/actions/beta-notes # zizmor: ignore[self-repository] - with: - app: put.io shared GitHub actions - base: v2.0.0 - - name: Require a successful Claude run - run: jq -e '{is_error, num_turns, total_cost_usd, structured_output} | debug | .is_error == false' "$RUNNER_TEMP/beta-notes-result.json"