Skip to content

fix(ci): release as the exadev App to bypass the branch ruleset - #7

Merged
Mearman merged 1 commit into
mainfrom
fix/release-app-token
Sep 12, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/release-app-token

Conversation

@Mearman

@Mearman Mearman commented Sep 12, 2026

Copy link
Copy Markdown
Member

Summary

  • The release job's changelog commit-back (@semantic-release/git pushing HEAD:main) was rejected by the main-protection ruleset (GH013) because the workflow GITHUB_TOKEN is not a bypasser.
  • Mint an installation token from the org APP_ID/APP_PRIVATE_KEY secrets (the exadev App, configured as the ruleset's permitted bypasser) and use it for the release step.

Test plan

  • CI verify passes
  • Release job on merge cuts cc-peer@0.1.0 with provenance via OIDC, and the changelog commit lands on main

The semantic-release changelog commit-back pushes directly to main,
which the main-protection ruleset refuses for the workflow token
(GH013). Mint an installation token from the org APP_ID/APP_PRIVATE_KEY
secrets with actions/create-github-app-token and use it as GITHUB_TOKEN
for the release step: the exadev App is the ruleset's permitted
bypasser, so the release commit lands without weakening protection.
npm publishing still rides OIDC trusted publishing with NODE_AUTH_TOKEN
blanked.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-12T19:45:16.451401Z 359a4c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman
Mearman merged commit 3428669 into main Sep 12, 2026
2 checks passed
@exaclaude

exaclaude Bot commented Sep 12, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@exaclaude exaclaude Bot added the released label Sep 12, 2026
Sign up for free to 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.

1 participant