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

[v1.14] Use pull_request_target in Update Backport Label workflow #29009

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

pippolo84
Copy link
Member

When the workflow is triggered from a PR opened in a fork, it fails (see here) with the following message:

GraphQL: Resource not accessible by integration (removeLabelsFromLabelable)

To fix this, we need to run the workflow in the context of the pull request base, so the commit changes the event to be pull_request_target instead of pull_request.

Suggested by @aanm

When the workflow is triggered from a PR opened in a fork, it fails with
the following message:

`GraphQL: Resource not accessible by integration (removeLabelsFromLabelable)`

To fix this, we need to run the workflow in the context of the pull
request base, so the commit changes the event to be
`pull_request_target` instead of `pull_request`.

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Nov 6, 2023
@pippolo84 pippolo84 requested review from a team as code owners November 6, 2023 16:26
@pippolo84 pippolo84 requested a review from brlbil November 6, 2023 16:26
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. labels Nov 6, 2023
@pippolo84 pippolo84 requested review from nbusseneau and aanm and removed request for brlbil November 6, 2023 16:26
@aanm aanm merged commit a5a047f into cilium:v1.14 Nov 7, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants