add cancel-in-progress to all workflows

This commit is contained in:
Yves Delley
2024-11-12 19:05:04 +01:00
parent e464677200
commit cc9ea9dd1a
4 changed files with 17 additions and 0 deletions

View File

@ -24,6 +24,10 @@ name: Formatting CI
on: [push, pull_request] on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
check: check:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04

View File

@ -5,6 +5,10 @@ on:
paths: paths:
- CITATION.cff - CITATION.cff
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
Validate-CITATION-cff: Validate-CITATION-cff:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -22,6 +22,10 @@ on:
paths-ignore: paths-ignore:
- "docs/**" - "docs/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze

View File

@ -36,6 +36,11 @@ on:
- "mkdocs.yml" - "mkdocs.yml"
permissions: permissions:
contents: write contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest