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

Use pull_request_target for triage workflow #372

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Aug 2, 2023

Infrastructure

Follow up from #371.
Using the pull_request_target event allows this to work for PRs created from a fork. In pull_request event, the workflow doesn't have access to secrets, which is needed for the triage workflow. See https://stackoverflow.com/questions/74957218/what-is-the-difference-between-pull-request-and-pull-request-target-event-in-git for the difference between pull_request and pull_request_target events.

Using the pull_request_target event allows this to work for PRs created
from a fork.

Signed-off-by: Addisu Z. Taddese <[email protected]>
@mjcarroll mjcarroll merged commit 4f5cfdf into gz-cmake3 Aug 2, 2023
6 checks passed
@mjcarroll mjcarroll deleted the azeey/triage_pull_request_target branch August 2, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden 🎵 harmonic Gazebo Harmonic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants