Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update backport workflow to use default GITHUB_TOKEN #7050

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 27, 2024

  1. Update backport workflow to use default GITHUB_TOKEN

    Use the default token injected into workflows since the GH_BOT_ACCESS_TOKEN is revoked.
    
    The default token doesn't have the permission used for unassigning default reviewers. If you don't have it, you get cryptic comments posted back on the PR after the backport PRs are opened with the message `Validation Failed: "Could not resolve to a node with the global id of '<NODE ID>."`
    
    Like in grafana/pyroscope#3557 (comment)
    
    Behavior was documented in grafana/grafana-github-actions#226 and made configurable in 
    grafana/grafana-github-actions#227
    
    `removeDefaultReviewers: false` instructs the workflow to not try to avoid the error but will of course not remove the default reviewers assigned on the backport PR.
    jdbaldry authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    75fe764 View commit details
    Browse the repository at this point in the history