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

Run checks on PRs from forks #180

Merged
merged 1 commit into from
Oct 9, 2020
Merged

Run checks on PRs from forks #180

merged 1 commit into from
Oct 9, 2020

Conversation

wagoodman
Copy link
Contributor

Today we are triggering the static analysis and test workflow from push events, which forks for members of the repo, but not for PRs from a fork. This PR adds the pull_request trigger to the static analysis and test workflow. Note: this will cause what appears to be duplicate checks for PRs originating from members of the repo, which happens on simultaneous push and PR events. This is somewhat undesirable behavior but the refs being checked are technically different --one running against the typical git ref while the other is running against refs/pull/<prnum>/merge, as seen from the GITHUB_REF.

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
@wagoodman wagoodman added the enhancement New feature or request label Oct 9, 2020
@wagoodman wagoodman requested a review from a team October 9, 2020 11:18
@wagoodman wagoodman self-assigned this Oct 9, 2020
@wagoodman wagoodman merged commit b787a69 into main Oct 9, 2020
@wagoodman wagoodman deleted the enable-run-on-forks branch October 9, 2020 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants