8000 [v1.13] Use pull_request_target in Update Backport Label workflow by pippolo84 · Pull Request #29011 · cilium/cilium · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[v1.13] Use pull_request_target in Update Backport Label workflow #29011

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

Merged

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:33
@pippolo84 pippolo84 requested a review from brlbil November 6, 2023 16:33
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.13 kind/backports This PR provides functionality previously merged into master. labels Nov 6, 2023
@pippolo84 pippolo84 requested review from nbusseneau and aanm November 6, 2023 16:35
@aanm aanm merged commit aec32cf into cilium:v1.13 Nov 7, 2023
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 kind/backports This PR provides functionality previously merged into master. release-note/ci This PR makes changes to the CI.
Projects
No open projects
Status: Released
Development

Successfully merging this pull request may close these issues.

4 participants
0