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

CI: prevent duplicate triggering of build workflow #891

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

DeinAlptraum
Copy link
Contributor

@DeinAlptraum DeinAlptraum commented Aug 26, 2024

Builds are triggered on pushes to the repo and when a PR is updated. If a PR from a branch in the same repo is pushed to, both triggers activate, starting each job twice.
This change guards against this case by limiting push-builds to the master branch, at the cost of not triggering CI builds for pushes to other branches in the repo, if there is no PR for them.

Builds are triggered on pushes to the repo and when a PR is updated.
If a PR from a branch in the same repo is pushed to, both triggers
activate, starting each job twice.
This change guards against this case.
@bohning bohning merged commit 19d69da into UltraStar-Deluxe:master Aug 26, 2024
5 checks passed
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