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

"Bump Versions and Publish - Prod" should use a concurrency group. #163

Closed
cube2222 opened this issue Jan 15, 2024 · 0 comments · Fixed by #272
Closed

"Bump Versions and Publish - Prod" should use a concurrency group. #163

cube2222 opened this issue Jan 15, 2024 · 0 comments · Fixed by #272

Comments

@cube2222
Copy link
Contributor

Otherwise two workflows could overlap.

virtualroot added a commit to virtualroot/registry that referenced this issue Mar 2, 2024
Allow only one workflow at that time.

If a second workflow is triggered, it will be put in pending state, and
only start once the first workflow finish.
If the workflow is triggered a third time while the first one is
running, the second workflow is canceled, and the third takes over the
pending state.

`github.head_ref` allows concurrent runs outside the main branch.

Fix opentofu#163.
virtualroot added a commit to virtualroot/registry that referenced this issue Mar 2, 2024
Allow only one workflow at that time.

If a second workflow is triggered, it will be put in pending state, and
only start once the first workflow finish.
If the workflow is triggered a third time while the first one is
running, the second workflow is canceled, and the third takes over the
pending state.

Fix opentofu#163.
virtualroot added a commit to virtualroot/registry that referenced this issue Mar 2, 2024
Allow only one workflow at that time.

If a second workflow is triggered, it will be put in pending state, and
only start once the first workflow finish.
If the workflow is triggered a third time while the first one is
running, the second workflow is canceled, and the third takes over the
pending state.

Fix opentofu#163.

Signed-off-by: Alejandro Lazaro <alazaro@werpo.com.ar>
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 a pull request may close this issue.

1 participant