github-ci: cancel previous job for all workflows

Previously only enabled in build.yml, apply cancen-in-progress to all
workflow files.
pull/10396/head
Jason Ish 1 year ago committed by Victor Julien
parent d5a3bfcab6
commit 7c98134624

@ -3,6 +3,10 @@ name: New Authors Check
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-id:
name: New Author Check

@ -5,6 +5,10 @@ on:
paths-ignore:
- "doc/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
Fuzzing:

@ -13,6 +13,10 @@ on:
schedule:
- cron: '18 21 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze

@ -5,6 +5,10 @@ on:
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DEBIAN_FRONTEND: "noninteractive"

@ -12,6 +12,10 @@ on:
paths-ignore:
- "doc/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
env:

@ -11,6 +11,10 @@ on:
permissions:
contents: read # to fetch code (actions/checkout)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-rust:
name: Check Rust

@ -8,6 +8,10 @@ on:
paths-ignore:
- "doc/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
scan-build:
name: Scan-build

@ -7,6 +7,10 @@ on:
push:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Declare default permissions as read only.
permissions: read-all

Loading…
Cancel
Save