Skip to content

Commit

Permalink
Refining concurrency for preview workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukdog committed May 8, 2024
1 parent 045f62b commit 960dba9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
types: [opened, synchronize, labeled]

concurrency:
group: netlify
cancel-in-progress: false
group: netlify-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run:
if: contains(github.event.pull_request.labels.*.name, 'preview')
runs-on: ubuntu-latest
concurrency:
group: netlify-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: netlify
cancel-in-progress: false
env:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
APP_ENV: prod
Expand Down

0 comments on commit 960dba9

Please sign in to comment.