diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2023-03-15 14:08:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 14:08:32 (GMT) |
commit | 8e7ad5652647797025edf6f3912f29acfc6dae3e (patch) | |
tree | ee69c665248e06e61044b31c7049a0b914e9cb94 /.github/workflows | |
parent | 06bf32bf4a5e0f5d9633b589676f42c611780412 (diff) | |
download | hdf5-8e7ad5652647797025edf6f3912f29acfc6dae3e.zip hdf5-8e7ad5652647797025edf6f3912f29acfc6dae3e.tar.gz hdf5-8e7ad5652647797025edf6f3912f29acfc6dae3e.tar.bz2 |
Add concurrency option to cancel in-progress jobs (#2539) (#2558)
Co-authored-by: Scot Breitenfeld <brtnfld@hdfgroup.org>
Diffstat (limited to '.github/workflows')
-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 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. |