grafana / agent

Vendor-neutral programmable observability pipelines.
https://grafana.com/docs/agent/
Apache License 2.0
1.6k stars 487 forks source link

Update backport workflow to use default GITHUB_TOKEN #7050

Open jdbaldry opened 1 month ago

jdbaldry commented 1 month ago

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 https://github.com/grafana/pyroscope/pull/3557#issuecomment-2348613956

Behavior was documented in https://github.com/grafana/grafana-github-actions/pull/226 and made configurable in https://github.com/grafana/grafana-github-actions/pull/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.

github-actions[bot] commented 2 weeks ago

This PR has not had any activity in the past 30 days, so the needs-attention label has been added to it. If you do not have enough time to follow up on this PR or you think it's no longer relevant, consider closing it. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your PR will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!