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

[CI] Cancel in-progress jobs when another commit is pushed #13179

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

Blacksmoke16
Copy link
Member

Leverages the example from https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow to support canceling in progress CI workflows when another commit is pushed. I.e. CI jobs will only run on the latest ref.

@straight-shoota straight-shoota added this to the 1.8.0 milestone Mar 11, 2023
Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

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

Thank you @Blacksmoke16 🙏

@straight-shoota straight-shoota changed the title Cancel in progress CI jobs when another commit is pushed [CI] Cancel in-progress jobs when another commit is pushed Mar 13, 2023
@straight-shoota straight-shoota merged commit 3a360b1 into crystal-lang:master Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants