Adding PAKETO_BOT_GITHUB_TOKEN on checkout as github_token - #1380
Merged
pacostas merged 1 commit intoSep 2, 2026
Merged
Conversation
…he tests and auto approve
anthonydahanne
approved these changes
Sep 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.
Summary
This PR adds PAKETO_BOT_GITHUB_TOKEN on checkout as the github_token. This allows to trigger the test workflows and also trigger the auto approve action. Currently, only the first commit triggers the aforementioned actions as the PR is happening from the open pr gh actions, which uses the PAKETO_BOT_GITHUB_TOKEN. In case something blocks the PR and can not be landed (e.g. GH sometimes is flaky) the subsequent commits are getting pushed with the GITHUB_TOKEN instead of the PAKETO_BOT_GITHUB_TOKEN . This results in not triggering the aforementioned the github actions and it ends up the automated updates, needing a manual approval/review, which might be missed.
This PR will unblock many stale PRs :) and will also improve the maintenance on the Paketo Buildpacks overall !
Use Cases
Checklist