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

Trigger CI on pull_request #462

Merged
merged 1 commit into from
Feb 14, 2022
Merged

Conversation

richardsheridan
Copy link
Contributor

pull_request_target always runs against the merge base commit because it provides elevated permissions. This means CI never actually runs on any pull request! See #460. I think the change will take effect after merging this commit to master, but I am not 100% sure.

pull_request_target always runs against the merge base commit because it provides elevated permissions.
@msiemens
Copy link
Owner

Thanks @richardsheridan. I'll take a look at this next week or the week after.

@msiemens msiemens merged commit bab862e into msiemens:master Feb 14, 2022
@msiemens
Copy link
Owner

Thanks @richardsheridan! Seems like I got confused by how pull_request_target and pull_request work. I was under the impression that pull_request_target would still check out the Pull Request but run the workflow that is defined in the base repository. Seems like that was not correct.

@richardsheridan richardsheridan deleted the patch-3 branch February 15, 2022 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants