Skip to content

Commit

Permalink
ci: avoid collisions with merge group SHAs (#1713)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 7, 2023
1 parent 3b38633 commit e750e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

concurrency:
# Cancel in progress for PR open and close, but not merge_group
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: ${{ !github.event.number && false || true }}
group: ${{ github.workflow }}-${{ github.event.number || github.event.merge_group.base_sha }}
cancel-in-progress: true

jobs:
# PR only, skip for merge_group
Expand Down

0 comments on commit e750e6b

Please sign in to comment.