mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 13:18:59 +00:00
ci: cancel previous job runs with concurrency
This commit is contained in:
parent
c86cca37a8
commit
9098962ec3
2 changed files with 10 additions and 0 deletions
5
.github/workflows/benchmark.yaml
vendored
5
.github/workflows/benchmark.yaml
vendored
|
|
@ -14,6 +14,11 @@ on:
|
|||
permissions:
|
||||
pull-requests: write # For comment
|
||||
|
||||
# cancel previous job runs for the same workflow + pr
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
RUST_LOG: info
|
||||
RUST_BACKTRACE: 1
|
||||
|
|
|
|||
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
|
|
@ -17,6 +17,11 @@ on:
|
|||
permissions:
|
||||
contents: write # For documentation deployment
|
||||
|
||||
# cancel previous job runs for the same workflow + pr
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
RUST_LOG: info
|
||||
RUST_BACKTRACE: 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue