ci: only run one instance of each workflow (#26036)

only allow one running workflow per event for each branch
old-commit-hash: 03a065160e176be451cce95073b71bbfce5b4d6a
This commit is contained in:
Cameron Clough
2022-10-12 13:51:09 -07:00
committed by GitHub
parent 05490107b1
commit 92fab023b3
2 changed files with 10 additions and 0 deletions

View File

@@ -1,10 +1,15 @@
name: selfdrive
on:
push:
branches-ignore:
- 'testing-closet*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
env:
BASE_IMAGE: openpilot-base
CL_BASE_IMAGE: openpilot-base-cl

View File

@@ -1,8 +1,13 @@
name: tools
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
env:
BASE_IMAGE: openpilot-base
CL_BASE_IMAGE: openpilot-base-cl