fix: use kernel-internal GitHub App token in workflows #109
+22
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Summary
Switches workflows from using
GITHUB_TOKEN/GH_PATto the kernel-internal GitHub App token, aligning with the pattern used in the main kernel repo.Changes
fix-ci.yaml
actions/create-github-app-token@v1secrets.GITHUB_TOKENwithsteps.app-token.outputs.tokenin GH_TOKEN env varkernel-internal[bot]/260533166+kernel-internal[bot]@users.noreply.github.comrelease.yaml
actions/create-github-app-token@v1secrets.GH_PATwithsteps.app-token.outputs.tokenin GITHUB_TOKEN env var for GoReleaserBenefits
Testing
The workflows will use the existing
ADMIN_APP_IDandADMIN_APP_PRIVATE_KEYsecrets already configured in the repository.Note
Medium Risk
Changes release and automation credentials/permissions; misconfiguration could break CI auto-fix pushes or tagged releases/publishing even though no product code changes.
Overview
Switches the
Fix CI FailuresandRelease CLIGitHub Actions workflows to authenticate via a generated GitHub App token (actions/create-github-app-token@v1) instead ofGITHUB_TOKEN/PATs.The CI-fix workflow now checks out/pushes and runs
ghusing the app token and updates commit attribution tokernel-internal[bot]; the release workflow similarly feeds the app token to GoReleaser (scoped tocliandhomebrew-tap).Written by Cursor Bugbot for commit 92b320a. This will update automatically on new commits. Configure here.