netbox
netbox copied to clipboard
Add concurrency group to CI to automatically cancel in-flight jobs when applicable
Proposed Changes
Add Concurrency group to CI to automatically cancel in-flight jobs when applicable:
- Push to branch
- Push to pull request
Justification
Currently, when tests are running and there is a new push to the branch or PR the tests will continue. Adding a concurrency group will cancel the in-flight tests and run only the newest test.
This doesn't add much but will optimize our CI a little bit.