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

Disable CI on pushes if not on main branch #18

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

HealthyPear
Copy link
Member

While working on #17 I noticed that the number of CI pipelines triggered each time is basically doubled because they were triggered on both push and pull request events regardless of the branch.

It makes sense to trigger a pipeline on push only on the main branch, since the pull request one will already cover pushed on the corresponding branch.

@HealthyPear HealthyPear merged commit 18d5efd into main Aug 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants