Skip to content

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

Merged
merged 5 commits into from
Jun 15, 2021

Conversation

fangchenli
Copy link
Member

No description provided.

@fangchenli
Copy link
Member Author

It's working correctly. I got email notifications when previous jobs were canceled.

@MarcoGorelli
Copy link
Member

What does auto-cancel do?

@fangchenli
Copy link
Member Author

fangchenli commented Jun 12, 2021

What does auto-cancel do?

A new commit will cancel all unfinished builds. So the CI only runs for the latest commit.

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

nice!

@lithomas1 lithomas1 added this to the 1.4 milestone Jun 12, 2021
@lithomas1 lithomas1 added the CI Continuous Integration label Jun 12, 2021
Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

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

LGTM

@jreback jreback merged commit 8d143fd into pandas-dev:master Jun 15, 2021
@jreback
Copy link
Contributor

jreback commented Jun 15, 2021

thanks @fangchenli very nice!

@fangchenli
Copy link
Member Author

Maybe we should turn this off for the master branch. Or find a way to mark canceled jobs as 'success'.

@jreback
Copy link
Contributor

jreback commented Jun 16, 2021

ahh yes if u can turn off for master

@fangchenli fangchenli deleted the actions-auto-cancel branch June 18, 2021 02:23
iynehz pushed a commit to iynehz/pandas that referenced this pull request Jun 20, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants