diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-03-13 21:24:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 21:24:15 (GMT) |
commit | 3d8dc012a4353336652479541388b8530accb11c (patch) | |
tree | 03bba3d514ea89f2c231b75a692f94cb245fc259 /.github | |
parent | 42d1e89755bafe543e5d8262e2e9640fb2b8103d (diff) | |
download | hdf5-3d8dc012a4353336652479541388b8530accb11c.zip hdf5-3d8dc012a4353336652479541388b8530accb11c.tar.gz hdf5-3d8dc012a4353336652479541388b8530accb11c.tar.bz2 |
Add concurrency option to cancel in-progress jobs (#2539)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 7 |
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. |