Skip to content

Conversation

@gyfora
Copy link
Contributor

@gyfora gyfora commented Mar 27, 2025

Currently there is only one instance of a workflow runs against a given target branch.

This means merges to main for example cancel all current in progress PRs open against main. And one PR cancels the others CI runs against the same branch.

This pr changes the concurrency to one per workflow per PR by using: github.ref_name

Definition:

The short ref name of the branch or tag that triggered the workflow run. This value matches the branch or tag name shown on GitHub. For example, feature-branch-1.

For pull requests, the format is <pr_number>/merge.

@gyfora gyfora changed the title [ci] PRs should not cancel each others or traget branches CI runs [ci] PRs should not cancel each others or target branches CI runs Mar 27, 2025
@gyfora gyfora merged commit 6859683 into apache:main Mar 27, 2025
84 of 121 checks passed
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.

4 participants