chore: GitHub Actions cancel-in-progress (#7224)

This commit is contained in:
Sébastien Lorber 2022-04-22 11:28:25 +02:00 committed by GitHub
parent 5c29809163
commit f7c995b15a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 44 additions and 0 deletions

View file

@ -7,6 +7,10 @@ on:
paths: paths:
- packages/docusaurus/** - packages/docusaurus/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -12,6 +12,10 @@ on:
paths-ignore: paths-ignore:
- website/docs/** - website/docs/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -10,6 +10,10 @@ on:
schedule: schedule:
- cron: 25 22 * * 3 - cron: 25 22 * * 3
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze

View file

@ -1,6 +1,10 @@
name: Dependency Review name: Dependency Review
on: [pull_request] on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
lighthouse-report: lighthouse-report:
name: Lighthouse Report name: Lighthouse Report

View file

@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -7,6 +7,10 @@ on:
paths: paths:
- website/src/data/** - website/src/data/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -12,6 +12,10 @@ on:
paths-ignore: paths-ignore:
- website/** - website/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -7,6 +7,10 @@ on:
paths: paths:
- packages/** - packages/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -7,6 +7,10 @@ on:
paths-ignore: paths-ignore:
- website/** - website/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -7,6 +7,10 @@ on:
paths-ignore: paths-ignore:
- website/** - website/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read