-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: enable auto-cancel for GitHub Actions #41962
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
Conversation
It's working correctly. I got email notifications when previous jobs were canceled. |
What does auto-cancel do? |
A new commit will cancel all unfinished builds. So the CI only runs for the latest commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks @fangchenli very nice! |
Maybe we should turn this off for the master branch. Or find a way to mark canceled jobs as 'success'. |
ahh yes if u can turn off for master |
No description provided.