ci(ci): add SRS_ADMIN_KEY env var and documentation to CI workflows

This commit is contained in:
Prad Nukala
2026-08-25 15:44:43 -04:00
parent e4de74c935
commit 3068b4e4aa
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -28,7 +28,14 @@ jobs:
- uses: oven-sh/setup-bun@v2
# No install step: the script only uses Bun builtins + fetch.
#
# SRS_ADMIN_KEY lets the script report the solved set to the Worker
# (POST /admin/solved). Closing an issue is invisible to D1 — the
# catalog reconcile never reads issue state, and only logAttempt() moves
# the ladder — so without this a pushed solution would never reach the
# charts, the digest's solved ticks, or the drill/gate pools.
- run: bun apps/cli/close-solved.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRY_RUN: ${{ inputs.dry_run }}
SRS_ADMIN_KEY: ${{ secrets.SRS_ADMIN_KEY }}