Skip to content

Cancel in progress PR builds when a new commit is pushed for that PR #322

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

Conversation

jasoncouture
Copy link
Contributor

I've been chewing through actions time on rust-osdev, I'd prefer to be a good citizen so this will cancel in progress builds on PRs when a new commit is pushed.

It does not impact main, or cron builds, due to the fallback to github.ref

Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Good idea, thanks!

@phil-opp phil-opp enabled auto-merge January 9, 2023 18:43
@phil-opp phil-opp merged commit 6939d4f into rust-osdev:main Jan 9, 2023
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.

None yet

2 participants