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

Prevent concurrent builds on branches #406

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

erikvanoosten
Copy link
Contributor

Prevent multiple builds at the same time from the same branch by cancelling the earlier builds. The default branch (e.g. master) is exempted, that is, builds from the default branch may run concurrently.

Prevent multiple builds at the same time from the same branch by cancelling the earlier builds. The default branch (e.g. master) is exempted, that is, builds from the default branch may run concurrently.
@erikvanoosten
Copy link
Contributor Author

I didn't see any need to make this addition optional or configurable. Therefore, I chose the simplest solution which is to hard code the additions in the workflow model. Please let me know if this should be improved upon.

Copy link

@987Nabil 987Nabil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the change. I think it is okay to hard code it.

@guizmaii guizmaii merged commit 8116d65 into zio:main Jun 25, 2024
11 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.

4 participants