Skip to content

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

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#32
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 sqlite-level@2.0.0 (the feat: remove cjs support, move to esm changeset queued by #24).

Test plan

  • On merge, watch the Publish to NPM or Create Version PR job — the "Generate a token" step should succeed.
  • Confirm changesets/action either opens a "Version Packages" PR or publishes a beta snapshot for the queued major changeset.
  • Once the Version Packages PR merges, sqlite-level@2.0.0 should publish to npm.

🤖 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>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

⚠️ No Changeset found

Latest commit: e201e6e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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 added a commit to tinacms/upstash-redis-level that referenced this pull request May 14, 2026
## Summary
- The push-to-main publish job has been failing with `A JSON web token
could not be decoded`
([run](https://github.com/tinacms/upstash-redis-level/actions/runs/25705443854))
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](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](https://claude.com/claude-code)
@kulesy kulesy merged commit 57d4037 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