mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
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
This commit is contained in:
parent
74cc1cf59e
commit
119e694f97
2
.github/workflows/cve.yml
vendored
2
.github/workflows/cve.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/hdfeos5.yml
vendored
2
.github/workflows/hdfeos5.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/linux-auto-aocc-ompi.yml
vendored
2
.github/workflows/linux-auto-aocc-ompi.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/netcdf.yml
vendored
2
.github/workflows/netcdf.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user