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

Add concurrency hook to cancel jobs on new push. #5986

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Sep 13, 2022

This addition to the workflow is intended to cancel running jobs within a workflow when new changes are pushed up. This should help in situations where there are a lot of rapid pushes to a PR, which can trigger a long queue of CI jobs to build up.
See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value

See also: scipy/scipy#15634 and numpy/numpy#21110. And thanks to @HarshCasper for calling attention to this improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants