summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2023-03-13 21:24:15 (GMT)
committerGitHub <noreply@github.com>2023-03-13 21:24:15 (GMT)
commit3d8dc012a4353336652479541388b8530accb11c (patch)
tree03bba3d514ea89f2c231b75a692f94cb245fc259
parent42d1e89755bafe543e5d8262e2e9640fb2b8103d (diff)
downloadhdf5-3d8dc012a4353336652479541388b8530accb11c.zip
hdf5-3d8dc012a4353336652479541388b8530accb11c.tar.gz
hdf5-3d8dc012a4353336652479541388b8530accb11c.tar.bz2
Add concurrency option to cancel in-progress jobs (#2539)
-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 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.