ci: disable concurrency for master branch (#26052)

disable concurrency for master branch
This commit is contained in:
Cameron Clough
2022-10-12 15:11:03 -07:00
committed by GitHub
parent 23e78da6a4
commit 077f0e0a44
2 changed files with 4 additions and 4 deletions

View File

@@ -7,8 +7,8 @@ on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
group: ${{ github.workflow }}-${{ github.ref != 'refs/heads/master' && github.ref || github.run_id }}-${{ github.event_name }}
cancel-in-progress: true
env:
BASE_IMAGE: openpilot-base

View File

@@ -5,8 +5,8 @@ on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
group: ${{ github.workflow }}-${{ github.ref != 'refs/heads/master' && github.ref || github.run_id }}-${{ github.event_name }}
cancel-in-progress: true
env:
BASE_IMAGE: openpilot-base