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

skip the gather_results step for builds if scheduled action #248

Merged

Conversation

conradtchan
Copy link
Collaborator

Type of PR:
Bug fix

Description:
#228 added a summary step to the build checks. This always runs, even if the build checks are skipped (scheduled builds on forks). Because no builds have passed, this returns a false fail.

This change causes the workflow to only run the summary step if it is not triggered by a schedule. This will have no effect on scheduled runs on the main repo because the summary step is not used there - it is only used as a branchy protection requirement.

Testing:
Full test suite

Did you run the bots? yes, pre-commit

@conradtchan conradtchan marked this pull request as ready for review March 1, 2022 02:16
@conradtchan conradtchan merged commit fade9a7 into danieljprice:master Mar 1, 2022
@conradtchan conradtchan deleted the fix-fork-skip-scheduled-build branch March 1, 2022 02:16
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.

1 participant