ci: disable concurrency for master branch (#26052)

disable concurrency for master branch
old-commit-hash: 077f0e0a4433e07330e2c1e22bc1774da1d964fc
This commit is contained in:
Cameron Clough
2022-10-12 15:11:03 -07:00
committed by GitHub
parent d0cb619c7d
commit 813429531d
2 changed files with 4 additions and 4 deletions
+2 -2
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
+2 -2
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