Skip to content

Conversation

@rahulait
Copy link
Contributor

Adding concurrency group helps in preventing multiple concurrent workflow runs for the same PR. When a new commit is added to the PR, old workflow runs still running for the PR should get cancelled as they are no longer relevant and it should start again. This PR adds concurrency group with cancel-in-progress set which makes sure stale workflow runs gets cancelled and we don't waste GHA cycles for runs/steps which don't matter as the code has been updated.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 22, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@rahulait
Copy link
Contributor Author

/ok to test 5864ce3

Copy link
Contributor

@tariq1890 tariq1890 left a comment

Choose a reason for hiding this comment

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

Thanks @rahulait! This is indeed very valuable

@rahulait rahulait force-pushed the add-concurrency-group branch from 5864ce3 to a5326d7 Compare October 28, 2025 16:39
@rahulait
Copy link
Contributor Author

/ok to test a5326d7

@tariq1890 tariq1890 enabled auto-merge October 28, 2025 16:42
@tariq1890 tariq1890 merged commit 41f3501 into NVIDIA:main Oct 28, 2025
16 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