Skip to content

Commit

Permalink
.github/workflows/build-release.yaml: Fix deadlock on workflow skipping
Browse files Browse the repository at this point in the history
The recent fix in ba69a12 (.github/workflows: Cancel redundant workflow
runs, 2023-09-08) did not work for the main branch as the error message on
cancelling was [1]:

> Cancelling since a deadlock for concurrency group 'Build Release-refs/heads/main'
> was detected between 'top level workflow' and 'CallPR'

So we now only cancel the CallPR workflow.

[1]: https://github.com/AllenInstitute/MIES/actions/runs/6132292975
  • Loading branch information
t-b committed Sep 11, 2023
1 parent 5dd72bd commit 56e52fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:

CallPR:
Expand Down

0 comments on commit 56e52fa

Please sign in to comment.