Skip to content

ci: exempt master branch workflows from getting cancelled#6486

Merged
phymbert merged 2 commits intoggml-org:masterfrom
mscheong01:ci-exempt-master-branch-workflows-from-getting-cancelled
Apr 4, 2024
Merged

ci: exempt master branch workflows from getting cancelled#6486
phymbert merged 2 commits intoggml-org:masterfrom
mscheong01:ci-exempt-master-branch-workflows-from-getting-cancelled

Conversation

@mscheong01
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

phymbert commented Apr 4, 2024

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

@mscheong01
Copy link
Copy Markdown
Collaborator Author

@phymbert done!

@phymbert phymbert merged commit 7dda1b7 into ggml-org:master Apr 4, 2024
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
)

* ci: exempt master branch workflows from getting cancelled

* apply to bench.yml
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
)

* 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.

2 participants