Repository navigation
Add rebase helper workflow with github-token parameter - #287
Draft
bootc-bot[bot] wants to merge 1 commit into
Draft
bootc-bot[bot] wants to merge 1 commit into
bootc-bot[bot] wants to merge 1 commit into
Conversation
Fixes the missing github-token error in actions/github-script. The workflow checks PR rebase status and manages the needs-rebase label. Resolves #61 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Author
There was a problem hiding this comment.
Threat detection produced a warning for this pull request output.
These changes need to be scrutinized before merge and only merged after a careful manual review.
- Detection reason:
agent_failure - Review workflow run logs: https://github.com/bootc-dev/infra/actions/runs/39990171628
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.
Warning
Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
Summary
Fixes the missing
github-tokenerror inactions/github-scriptfor the rebase helper workflow.This PR adds a new workflow file
common/.github/workflows/rebase.ymlthat:mergeable_stateneeds-rebaselabel when a PR has merge conflictsactions/github-script@v9with the requiredgithub-tokenparameterValidation
The workflow file follows the same pattern as other workflows in this repository (e.g.,
install-labels.yml) and includes:github-tokenparameter set to${{ secrets.GITHUB_TOKEN }}contents: read,pull-requests: write)opened,synchronize,reopened)Once synced to other repositories via
sync-common.yml, this will resolve the error reported in issue #61.Resolves #61
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
api.anthropic.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.