summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-10-26 15:49:50 (GMT)
committerGitHub <noreply@github.com>2023-10-26 15:49:50 (GMT)
commit119e694f971470b26876d227ceedbaab36eef275 (patch)
treed7a0bf39cdb008ff4ef27c54e9b8d00bd3fbcbaf
parent74cc1cf59eae121c1d15caf4fb0420a18a45da13 (diff)
downloadhdf5-119e694f971470b26876d227ceedbaab36eef275.zip
hdf5-119e694f971470b26876d227ceedbaab36eef275.tar.gz
hdf5-119e694f971470b26876d227ceedbaab36eef275.tar.bz2
Cancel running GitHub workflows on push to same PR (#3772)
* Cancel running GitHub workflows on push to same PR * Remove github.sha from workflow concurrency groups
-rw-r--r--.github/workflows/cve.yml2
-rw-r--r--.github/workflows/hdfeos5.yml2
-rw-r--r--.github/workflows/linux-auto-aocc-ompi.yml2
-rw-r--r--.github/workflows/main.yml2
-rw-r--r--.github/workflows/netcdf.yml2
5 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/cve.yml b/.github/workflows/cve.yml
index 6756840..372518a 100644
--- a/.github/workflows/cve.yml
+++ b/.github/workflows/cve.yml
@@ -16,7 +16,7 @@ on:
# Using concurrency to cancel any in-progress job or run
concurrency:
- group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
permissions:
diff --git a/.github/workflows/hdfeos5.yml b/.github/workflows/hdfeos5.yml
index 5faf74a..dad262d 100644
--- a/.github/workflows/hdfeos5.yml
+++ b/.github/workflows/hdfeos5.yml
@@ -16,7 +16,7 @@ on:
# Using concurrency to cancel any in-progress job or run
concurrency:
- group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
permissions:
diff --git a/.github/workflows/linux-auto-aocc-ompi.yml b/.github/workflows/linux-auto-aocc-ompi.yml
index e4aa25a..435d93f 100644
--- a/.github/workflows/linux-auto-aocc-ompi.yml
+++ b/.github/workflows/linux-auto-aocc-ompi.yml
@@ -16,7 +16,7 @@ on:
# Using concurrency to cancel any in-progress job or run
concurrency:
- group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
permissions:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e472b8c..43513c5 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -17,7 +17,7 @@ on:
# Using concurrency to cancel any in-progress job or run
concurrency:
- group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
permissions:
diff --git a/.github/workflows/netcdf.yml b/.github/workflows/netcdf.yml
index f386080..f08361f 100644
--- a/.github/workflows/netcdf.yml
+++ b/.github/workflows/netcdf.yml
@@ -19,7 +19,7 @@ permissions:
# Using concurrency to cancel any in-progress job or run
concurrency:
- group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
jobs: