Skip to content

ci: switch release bot token generation to client-id#18

Merged
kulesy merged 1 commit into
mainfrom
kulesy/fix-release-bot-client-id
May 14, 2026
Merged

ci: switch release bot token generation to client-id#18
kulesy merged 1 commit into
mainfrom
kulesy/fix-release-bot-client-id

Conversation

@kulesy
Copy link
Copy Markdown
Contributor

@kulesy kulesy commented May 14, 2026

Summary

  • The push-to-main publish job has been failing with A JSON web token could not be decoded (run) since the BOT_APP_ID secret value was swapped to the App's Client ID (Iv23li…).
  • actions/create-github-app-token@v3's app-id input is deprecated and only accepts numeric App IDs; passing a Client ID through it yields an invalid JWT issuer claim, which is what the error reports.
  • Switching to client-id matches the secret's current value and unblocks the changeset-driven release of the post-ESM-migration version.

Same fix as tinacms/sqlite-level#32.

Test plan

  • On merge, watch the publish job — the "Generate a token" step should succeed.
  • Confirm changesets/action either opens a "Version Packages" PR or publishes a beta snapshot.

🤖 Generated with Claude Code

The publish job has been failing with "A JSON web token could not be
decoded" since the `BOT_APP_ID` secret value was swapped to the App's
Client ID (Iv23li…). `actions/create-github-app-token@v3`'s `app-id`
input is deprecated and only accepts numeric App IDs, so a Client ID
passed as `app-id` produces an invalid JWT issuer claim.

Switch to the `client-id` input to match the secret's current value.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@JackDevAU JackDevAU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@kulesy kulesy merged commit bc5748a into main May 14, 2026
5 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.

2 participants