From 3d8dc012a4353336652479541388b8530accb11c Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Mon, 13 Mar 2023 16:24:15 -0500 Subject: Add concurrency option to cancel in-progress jobs (#2539) --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07104f4..35c0d64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,12 @@ on: - 'ACKNOWLEDGEMENTS' - 'COPYING**' - '**.md' - + +# Using concurrency to cancel any in-progress job or run +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or # in parallel. We just have one job, but the matrix items defined below will # run in parallel. -- cgit v0.12