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

chore(CI): don't trigger duplicate CI runs on pushes #305

Merged
merged 2 commits into from
Mar 4, 2022
Merged

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Mar 4, 2022

Currently, CI is configured to run on all pushes, and on all pull
requests. This means that when changes are pushed to a PR, the CI jobs
run twice. That's not great, as it means our builds take a bit longer.

For example:
image

This branch fixes the CI configuration, so that CI jobs are triggered on
all pull requests, and on pushes to main, rather than on all pushes.
Now, all jobs should only run a single time for every push to a PR.

Currently, CI is configured to run on all pushes, and on all pull
requests. This means that when changes are pushed to a PR, the CI jobs
run *twice*. That's not great, as it means our builds take a bit longer.

This branch fixes the CI configuration, so that CI jobs are triggered on
all pull requests, and on pushes to `main`, rather than on all pushes.
Now, all jobs should only run a single time for every push to a PR.
@hawkw hawkw requested a review from a team March 4, 2022 18:36
@hawkw hawkw enabled auto-merge (squash) March 4, 2022 18:37
@hawkw hawkw merged commit b4e6b6a into main Mar 4, 2022
@hawkw hawkw deleted the eliza/dedup-ci branch March 4, 2022 19:43
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