Skip to content

ci: read the Console client id from a repository variable - #174

Merged
viztor merged 1 commit into
mainfrom
ci/console-client-id-variable
Nov 14, 2026
Merged

viztor merged 1 commit into
mainfrom
ci/console-client-id-variable

Conversation

@viztor

@viztor viztor commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Follow-up to #172. The Console CI token's client id sat in .github/workflows/ci.yml as a
literal, and its sk_ + UUID shape matches GitHub's Checkout.com production-key pattern — so
secret scanning raised a false-positive alert against an older commit of that branch.

  • The id now comes from the OPENCODE_CONSOLE_CLIENT_ID repository variable. It is an
    identifier, not a credential: the exchange binds it to the audience and the GitHub OIDC
    subject, and the access token itself is minted per run from the runner's OIDC identity.
  • test/keyed-probes.test.ts holds the wiring and now fails if the job ever carries a
    sk_-shaped literal again.
  • Verified locally: pnpm run check (0 errors) and the keyed-probes suite pass; the pull
    request's own e2e · live gateway run reads the variable and mints its token.

No Checkout.com credential was involved: this repository only uses actions/checkout, and the
flagged value is the id from the Console CI-token setup. The alert is dismissed as a false
positive rather than rotated; the value stays in history as the public identifier it is.

@viztor
viztor merged commit 1e1a165 into main Nov 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant