Limit concurrency on GitHub Actions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
This commit is contained in:
parent
efc18a4139
commit
15e9c23fa0
4
.github/workflows/bench.yml
vendored
4
.github/workflows/bench.yml
vendored
|
@ -4,6 +4,10 @@ on:
|
|||
- main
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
name: Benchmark
|
||||
|
||||
jobs:
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
- main
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
|
|
4
.github/workflows/guide.yml
vendored
4
.github/workflows/guide.yml
vendored
|
@ -8,6 +8,10 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
|
|
Loading…
Reference in a new issue