Repository navigation
ci: use GitHub app token for 0.x releases instead of PAT (FB-4891) - #549
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gm42
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Replaces
RELEASE_PATwith a short-lived token from thefireboltdb-ci-writerGitHub App in the0.xrelease workflow. This is the same change already merged on the default branch.Both
release.ymlandrelease-v0.ymlon this branch used the PAT.release.ymlalso getsmain-branch: 0.x: it relied on the defaultmain, so its version-bump push would fail from a0.xcheckout.RELEASE_PATis being removed. This keeps the0.xrelease line close to working if we ever need another release from it.Not tested: no
0.xrelease is planned. The workflow also has other old problems (e.g. old action versions and runtimes) that this PR doesn't touch.Part of FB-4891.
🤖 Generated with Claude Code
Note
Low Risk
CI-only credential and workflow wiring changes; no application runtime or customer-facing behavior.
Overview
Replaces long-lived
RELEASE_PATwith a short-lived GitHub App token fromfireboltdb-ci-writerin bothrelease.ymlandrelease-v0.yml. Each publish job now runsactions/create-github-app-token(pinned to v3.2.0) withGH_APP_FB_DB_CI_WRITER_*secrets andpermission-contents: write, then passessteps.app-token.outputs.tokentoactions/checkoutinstead of the PAT.release.ymlalso setsmain-branch: 0.xonfirebolt-db/action-python-release, so version-bump pushes target the0.xline rather than the action’s defaultmainwhen releasing from that branch.Reviewed by Cursor Bugbot for commit 5db310a. Bugbot is set up for automated code reviews on this repo. Configure here.