-
Notifications
You must be signed in to change notification settings - Fork 55
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
chore: split ci into separate steps #292
Conversation
I see that we only run Snyk on pull requests right now, do we need to run the others on push or could we just run all of them on PR? |
runs-on: ubuntu-latest | ||
# We want to run on external PRs, but not on our own internal PRs as they'll be run | ||
# by the push to the branch. | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪
# We want to run on external PRs, but not on our own internal PRs as they'll be run | ||
# by the push to the branch. | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we also avoid running this for external PRs? I guess what's our full intent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have a question re: releasing for external PRs
Description
Splits up the
Build
step to have separate steps forunit test
,integration test
, andbuild
for easier debugging. Also skips duplicate runs of each step due to our on push and on pull_request settings.Before:
After:
Reference
https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012