automatically cancel superseded ci build of pr
This commit is contained in:
parent
4a3c636b6b
commit
036c13a2d5
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -12,6 +12,10 @@ on:
|
|||||||
check_suite:
|
check_suite:
|
||||||
types: [rerequested]
|
types: [rerequested]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
4
.github/workflows/ports_windows.yml
vendored
4
.github/workflows/ports_windows.yml
vendored
@ -12,6 +12,10 @@ on:
|
|||||||
- 'ports/unix/**'
|
- 'ports/unix/**'
|
||||||
- 'ports/windows/**'
|
- 'ports/windows/**'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
@ -8,6 +8,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
Loading…
x
Reference in New Issue
Block a user