fix(ci): use GitHub App token for release-please PRs#40
Merged
Conversation
PRs created by GITHUB_TOKEN don't trigger other workflows (GitHub security feature to prevent infinite loops). This causes release-please PRs to have pending required checks that never start. Solution: Use a GitHub App token instead. PRs created by GitHub Apps DO trigger workflows. Required setup: 1. Install the x-repo-auth GitHub App on this repository 2. Generate a private key for the App 3. Add repository secret: X_REPO_AUTH_PRIVATE_KEY (the private key PEM) 4. Add repository variable: X_REPO_AUTH_APP_ID (2608951) Fixes #39 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Deploying helm-charts with
|
| Latest commit: |
99d0b40
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9b1662c5.helm-charts-76l.pages.dev |
| Branch Preview URL: | https://fix-release-please-app-token.helm-charts-76l.pages.dev |
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
Fix release-please PRs having pending required checks that never start.
Problem
PRs created by
GITHUB_TOKENdon't trigger other workflows - this is a GitHub security feature to prevent infinite loops. This causes release-please PRs to sit with "Expected" checks that never run.Solution
Use a GitHub App token instead of
GITHUB_TOKENfor release-please. PRs created by GitHub Apps DO trigger workflows.Required Setup (before merging)
1. Install the GitHub App
Ensure x-repo-auth is installed on this repository.
2. Generate a Private Key
.pemfile3. Add Repository Secret
X_REPO_AUTH_PRIVATE_KEY.pemfile4. Add Repository Variable
X_REPO_AUTH_APP_ID2608951After Merging
Future release-please PRs will be created by the GitHub App and will automatically trigger the lint-test workflow.
Test Plan
Fixes #39
🤖 Generated with Claude Code