Skip to content

Commit

Permalink
chore: GitHub Actions cancel-in-progress (#7224)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Apr 22, 2022
1 parent 5c29809 commit f7c995b
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-blog-only.yml
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-perf.yml
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dependency-review.yml
@@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lighthouse-report.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/showcase-test.yml
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests-e2e.yml
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests-swizzle.yml
Expand Up @@ -7,6 +7,10 @@ on:
paths:
- packages/**

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests-windows.yml
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -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

Expand Down

0 comments on commit f7c995b

Please sign in to comment.