From 48814c43063d2adaa2d8bba5b3d9941f4abb4127 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Wed, 22 Sep 2021 15:28:10 -0500 Subject: [PATCH] GHA: cancel existing jobs when new commits are added (#2120) --- .github/workflows/tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 508beb6..6d28f07 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,6 +8,10 @@ on: schedule: - cron: "0 0 * * *" +concurrency: + group: ${{ github.head_ref }} + cancel-in-progress: true + jobs: Linting: runs-on: ubuntu-latest