Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Problem diagnosed, explained, and solved by Arthur from GitHub Support:

Checking out the example you shared, two runs of the same workflow are getting triggered when adding the PR to the merge queue - one run on merge_group, and then one run on the push to the merge queue branch gh-readonly-queue/**.

Both of these runs resolve the same concurrency group value, causing one of them to be cancelled due to cancel-in-progress being true.

To resolve this, you can edit your workflow file to specify not triggering on pushes to merge queue branches to reduce the duplicate runs here.

push:
  branches-ignore:
    - 'dependabot/**'
    - 'gh-readonly-queue/**'

Arthur's suggested fix worked perfectl…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by liblit
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Pull Requests Propose, review, and discuss changes to a repository's codebase
1 participant