From c715ee85617c9e01e402f7a77064a091a79f1670 Mon Sep 17 00:00:00 2001 From: Giles Dring Date: Tue, 3 Oct 2023 23:32:11 +0100 Subject: [PATCH] Cancel any in-flight jobs --- .github/workflows/update-data.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index fed1052c..fc25dee1 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -9,6 +9,11 @@ on: # * is a special character in YAML so you have to quote this string - cron: '45 9 * * 1-5' +# Cancel any in-flight jobs +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest