From 077f0e0a4433e07330e2c1e22bc1774da1d964fc Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Wed, 12 Oct 2022 15:11:03 -0700 Subject: [PATCH] ci: disable concurrency for master branch (#26052) disable concurrency for master branch --- .github/workflows/selfdrive_tests.yaml | 4 ++-- .github/workflows/tools_tests.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index ab70b8e7ef..cd34c6d27c 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -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 diff --git a/.github/workflows/tools_tests.yaml b/.github/workflows/tools_tests.yaml index 71f6ed50bc..9dc5c05837 100644 --- a/.github/workflows/tools_tests.yaml +++ b/.github/workflows/tools_tests.yaml @@ -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