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

chore(ci): Cancel running workflows when PRs are updated #2304

Merged
merged 1 commit into from
May 17, 2021
Merged

chore(ci): Cancel running workflows when PRs are updated #2304

merged 1 commit into from
May 17, 2021

Conversation

astefanutti
Copy link
Member

Leverage GitHub Actions concurrency group to cancel any in progress workflows running for the same PR. This avoids wasting compute resources when PRs get updated, and free runners from running on obsolete changes. See:

https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/

Release Note

NONE

@astefanutti astefanutti added the area/continuous integration Related to CI and automated testing label May 17, 2021
@astefanutti astefanutti merged commit 44b569e into apache:main May 17, 2021
@astefanutti astefanutti deleted the pr-253 branch May 17, 2021 16:27
@nicolaferraro nicolaferraro mentioned this pull request Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/continuous integration Related to CI and automated testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants