mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
ci: cancel previous workflow run after pushing new code to PR
This commit is contained in:
parent
dd770ba715
commit
2e7459f54c
8
.github/workflows/cflite.yml
vendored
8
.github/workflows/cflite.yml
vendored
@ -1,10 +1,18 @@
|
||||
name: ClusterFuzzLite PR fuzzing
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**'
|
||||
|
||||
# cancel any previous runs on the same PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
PR:
|
||||
runs-on: ubuntu-latest
|
||||
|
5
.github/workflows/common.yml
vendored
5
.github/workflows/common.yml
vendored
@ -6,6 +6,11 @@ on:
|
||||
schedule:
|
||||
- cron: '14 23 * * *' # every day @ 23:14
|
||||
|
||||
# cancel any previous runs on the same PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
crypto_build:
|
||||
name: Crypto library
|
||||
|
5
.github/workflows/core.yml
vendored
5
.github/workflows/core.yml
vendored
@ -11,6 +11,11 @@ on:
|
||||
schedule:
|
||||
- cron: '15 23 * * *' # every day @ 23:15
|
||||
|
||||
# cancel any previous runs on the same PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
id-token: write # for fetching the OIDC token
|
||||
contents: read # for actions/checkout
|
||||
|
5
.github/workflows/legacy.yml
vendored
5
.github/workflows/legacy.yml
vendored
@ -6,6 +6,11 @@ on:
|
||||
schedule:
|
||||
- cron: '35 22 * * *' # every day @ 22:35
|
||||
|
||||
# cancel any previous runs on the same PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
id-token: write # for fetching the OIDC token
|
||||
contents: read # for actions/checkout
|
||||
|
5
.github/workflows/prebuild.yml
vendored
5
.github/workflows/prebuild.yml
vendored
@ -6,6 +6,11 @@ on:
|
||||
schedule:
|
||||
- cron: '13 23 * * *' # every day @ 23:13
|
||||
|
||||
# cancel any previous runs on the same PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CARGOLOCK_COMMENT: Looks like you changed `Cargo.lock`. Please make sure to review the dependencies and update [internal version list](https://www.notion.so/satoshilabs/Rust-dependencies-a9cc6e8dab934def8eb27896c001e6e2).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user