Skip to content

ci(release): open the release pull request with the heb-release App token - #108

Merged
Hebilicious merged 1 commit into
mainfrom
ci/release-app-token
Nov 23, 2026
Merged

Hebilicious merged 1 commit into
mainfrom
ci/release-app-token

Conversation

@Hebilicious

Copy link
Copy Markdown
Owner

The changesets release pull request never gets CI. Every CI run on changeset-release/main since at least 2026-10-08 failed with no jobs, started by github-actions[bot] (for example run 45222044956 on #107). GitHub runs no CI for a pull request that GITHUB_TOKEN opens or pushes to.

What changes

  • The version job mints a token of the heb-release GitHub App with actions/create-github-app-token (pinned to v3.3.0) and passes it to changesets/action as GITHUB_TOKEN.
  • The checkout takes the App token too. actions/checkout keeps its token in the git config, and changesets/action@v1 pushes the release branch with git, so a checkout with GITHUB_TOKEN would still push as github-actions[bot].
  • The workflow permissions drop to contents: read. The npm and jsr jobs keep their own id-token: write.

Before merging

The repository needs the RELEASE_APP_PRIVATE_KEY secret. RELEASE_APP_CLIENT_ID is set. Without the secret, the version job fails on every push to main.

Verification

  • The workflow parses as YAML. It runs only on main, so the first proof is the next release pull request: its CI must start and pass.

@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6cb2816

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

@Hebilicious
Hebilicious merged commit 4d03f89 into main Nov 23, 2026
3 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.

1 participant