Skip to content

Commit 960dba9

Browse files
committed
Refining concurrency for preview workflow
1 parent 045f62b commit 960dba9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: .github/workflows/preview.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ on:
55
types: [opened, synchronize, labeled]
66

77
concurrency:
8-
group: netlify
9-
cancel-in-progress: false
8+
group: netlify-${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
1010

1111
jobs:
1212
run:
1313
if: contains(github.event.pull_request.labels.*.name, 'preview')
1414
runs-on: ubuntu-latest
1515
concurrency:
16-
group: netlify-${{ github.workflow }}-${{ github.ref }}
17-
cancel-in-progress: true
16+
group: netlify
17+
cancel-in-progress: false
1818
env:
1919
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
2020
APP_ENV: prod

0 commit comments

Comments
 (0)