Skip to content

Commit

Permalink
fix(ci): PR open/close concurrency (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Apr 30, 2024
1 parent 8757f65 commit ecdd0fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

concurrency:
# PR open and close use the same group, allowing only one at a time
group: pr-${{ github.workflow }}-${{ github.event.number }}
group: ${{ github.event.number }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

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

jobs:
Expand Down

0 comments on commit ecdd0fc

Please sign in to comment.