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 previous PR runs #2874

Merged
merged 1 commit into from Mar 20, 2023
Merged

ci: cancel previous PR runs #2874

merged 1 commit into from Mar 20, 2023

Conversation

Saviq
Copy link
Collaborator

@Saviq Saviq commented Mar 20, 2023

Ref.:

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

This will cancel any pending runs for a PR, avoiding wasted work and speeding up results when we get throttled down.

@Saviq Saviq force-pushed the add-actions-context branch 2 times, most recently from eafc8a6 to 993291d Compare March 20, 2023 13:23
@Saviq
Copy link
Collaborator Author

Saviq commented Mar 20, 2023

Because I messed up, the result can be seen in:

https://github.com/MirServer/mir/actions?query=branch%3Aadd-actions-context

Copy link
Contributor

@AlanGriffiths AlanGriffiths left a comment

Choose a reason for hiding this comment

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

bors merge

.github/workflows/spread.yml Show resolved Hide resolved
@bors bors bot merged commit b533e8c into main Mar 20, 2023
20 checks passed
@bors bors bot deleted the add-actions-context branch March 20, 2023 15:33
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