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 runs on update for PR #2170

Closed

Conversation

wenzeslaus
Copy link
Member

Using GitHub Actions concurrency, runs from the previous commits are canceled within the same group which is defined by workflow and head_ref/branch name. It explicitly checks for event being pull request and if it is not, it uses commit hash which makes it unique, so commits to the main and release branches will not be canceled.

See also #1794.

Using GitHub Actions concurrency, runs from the previous commits are canceled within the same group which is defined by workflow and head_ref/branch name. It explicitly checks for event being pull request and if it is not, it uses commit hash which makes it unique, so commits to the main and release branches will not be canceled.

See also OSGeo#1794.
@wenzeslaus wenzeslaus added this to the 8.4.0 milestone May 20, 2022
@wenzeslaus wenzeslaus added the CI Continuous integration label Jul 26, 2022
@wenzeslaus wenzeslaus modified the milestones: 8.3.0, 8.4.0 Feb 10, 2023
@wenzeslaus
Copy link
Member Author

Replaced by #2868.

@wenzeslaus wenzeslaus closed this Mar 2, 2023
@nilason
Copy link
Contributor

nilason commented Mar 2, 2023

Sorry, I overlooked this one totally!

@wenzeslaus wenzeslaus deleted the concurrency-cancel-in-progress branch March 2, 2023 14:31
@nilason nilason mentioned this pull request Mar 2, 2023
@wenzeslaus
Copy link
Member Author

That's fine. There was something wrong with this one and I never went back.

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.

2 participants