Skip to content

fix(github): support immutable OIDC subjects - #44776

Merged
neriousy merged 1 commit into
devfrom
oidc-claims-fix
Aug 24, 2026
Merged

fix(github): support immutable OIDC subjects#44776
neriousy merged 1 commit into
devfrom
oidc-claims-fix

Conversation

@neriousy

Copy link
Copy Markdown
Contributor

Summary

  • derive the repository identity from GitHub’s signed repository claim instead of parsing the mutable sub format
  • support legacy, immutable @id, and customized subject formats
  • return a structured broker error when GitHub App token exchange fails
  • preserve the original action error when GitHub clients are not initialized
  • run the function claim tests in repository CI

Verification

  • bun test in packages/function (5 passed)
  • bun test test/cli/github-action.test.ts in packages/opencode (17 passed)
  • bun typecheck in packages/opencode
  • full workspace typecheck from the pre-push hook
  • Prettier, Oxlint, and git diff --check

Fixes#37823

@0xjei

Copy link
Copy Markdown

lovely, thx @neriousy

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub action fails on repos created after 2026-07-15 (new OIDC sub format)

2 participants

@neriousy@0xjei