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

only allow one running workflow per event for each branch
This commit is contained in:
Cameron Clough
2022-10-12 13:51:09 -07:00
committed by GitHub
parent aa3dc7acbe
commit 03a065160e
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