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: exempt master branch workflows from getting cancelled #6486

Conversation

mscheong01
Copy link
Collaborator

This tweak prevents workflows targeting the master branch from being cancelled by the concurrency option. Took a few test runs to nail it, but confirmed: master branch workflows stay intact, while those targeting other branches get cancelled as expected.
image

Related Stackoverflow post that describes this well:
https://stackoverflow.com/questions/74117321/if-condition-in-concurrency-in-gha

@phymbert
Copy link
Collaborator

phymbert commented Apr 4, 2024

Could you add the same in bench.yaml but keep the input.sha also ?

@mscheong01
Copy link
Collaborator Author

@phymbert done!

@phymbert phymbert merged commit 7dda1b7 into ggerganov:master Apr 4, 2024
25 checks passed
tybalex pushed a commit to tybalex/function.cpp that referenced this pull request Apr 17, 2024
…6486)

* ci: exempt master branch workflows from getting cancelled

* apply to bench.yml
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.

None yet

2 participants