summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ece39c9..a08848e 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.