Skip to content

feat(release)!: take the release-bot App client ID instead of its app id - #26

Merged
chhoumann merged 1 commit into
mainfrom
feat/v5-client-id
Oct 24, 2026
Merged

chhoumann merged 1 commit into
mainfrom
feat/v5-client-id

Conversation

@chhoumann

Copy link
Copy Markdown
Owner

Summary

  • release-prepare.yml replaces the app-id input with client-id. actions/create-github-app-token v3 marks app-id deprecated.
  • The prepare caller stub passes client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}.
  • dry-run now runs a check-app job. It mints a read-only App token and fails if the minted slug is not release-bot-app-slug. Before this, a dry run made no App call, so it could not catch bad App credentials. It still pushes nothing and opens no PR.
  • README and release-pipeline-plan.md describe the new variable and the dry-run check. The versioning section now talks about v5.

This is the v5.0.0 breaking change. Caller stubs move to the v5.0.0 SHA in a follow-up once the tag exists, as #24 did for v4.1.0.

Migration

Set a RELEASE_APP_CLIENT_ID repository variable to the App's Client ID (App settings -> General, Iv23li...), then change the prepare stub's app-id: ${{ vars.RELEASE_APP_ID }} to client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}.

Test plan

  • actionlint 1.7.12 and zizmor 1.31.1, same images as self-test, clean locally
  • CI
  • End to end: dryRun dispatch of Prepare release in each plugin after v5.0.0 is tagged

actions/create-github-app-token deprecates app-id in favor of client-id.
release-prepare.yml now takes a client-id input, and the caller stub reads
vars.RELEASE_APP_CLIENT_ID.

A dry run now also mints a read-only App token and checks its slug, so it
proves the App credentials as well as the plan. It still writes nothing.

BREAKING CHANGE: the app-id input of release-prepare.yml is replaced by
client-id. Set a RELEASE_APP_CLIENT_ID repository variable to the App's
Client ID and pass client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}.
@chhoumann
chhoumann merged commit d6b3b8c into main Oct 24, 2026
2 checks passed
@chhoumann
chhoumann deleted the feat/v5-client-id branch October 24, 2026 14:19
@chhoumann chhoumann mentioned this pull request Oct 24, 2026
1 of 2 tasks
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