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:
- packages/docusaurus/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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