fix: use GitHub App token for docs update PRs#1145
Merged
Conversation
5c66797 to
7ed0af4
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the release workflow to authenticate docs-update PR creation with the KITOPS_BOT GitHub App token so downstream workflows (e.g., check-sources) are triggered.
Changes:
- Adds a step to mint a GitHub App installation token (KITOPS_BOT) in the
releasejob. - Uses the app token for the docs update git/
ghoperations instead of the defaultGITHUB_TOKEN. - Updates the git remote to push using the app token.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Use the existing KITOPS_BOT GitHub App token instead of the default GITHUB_TOKEN when creating docs update PRs during release. The default token does not trigger downstream workflows (e.g. check-sources), which blocks these PRs from being merged without manual intervention. Fixes kitops-ml#750 Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
7ed0af4 to
f72c45a
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
amisevsk
approved these changes
Apr 2, 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.
What changed
Use the existing KITOPS_BOT GitHub App token instead of the default
GITHUB_TOKENwhen creating docs update PRs in the release workflow.Why
PRs created with the default
GITHUB_TOKENdon't trigger downstream workflows (likecheck-sources) due to a GitHub limitation. This blocks docs update PRs from being merged without manual intervention (e.g. rebasing).The
publish-homebrew-tap-formulajob already uses the app token for this reason — this applies the same pattern to the docs update step.Validation
publish-homebrew-tap-formulaFixes #750