diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2023-03-14 22:15:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 22:15:30 (GMT) |
commit | 305c4328cf8ccaa540985a2205a02abdb364a011 (patch) | |
tree | bfac311814510e673df3f6145dd12edc147396ba /.github/workflows | |
parent | 06e5da629a2d8684aabce03cf87f837923064d25 (diff) | |
download | hdf5-305c4328cf8ccaa540985a2205a02abdb364a011.zip hdf5-305c4328cf8ccaa540985a2205a02abdb364a011.tar.gz hdf5-305c4328cf8ccaa540985a2205a02abdb364a011.tar.bz2 |
Add concurrency option to cancel in-progress jobs (#2539) (#2556)
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 7566126..e3b773b 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. |