Skip to content

Commit

Permalink
Merge pull request #850 from blink1073/cancel-dupes
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Feb 1, 2022
2 parents 8383787 + 2d124b1 commit 4e775b7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
pull_request:
branches: ["*"]

concurrency:
group: check-release-${{ github.ref }}
cancel-in-progress: true

jobs:
check_release:
runs-on: ubuntu-latest
strategy:
matrix:
group: [check_release, link_check]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: "*"

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: "*"

concurrency:
group: downstream-${{ github.ref }}
cancel-in-progress: true

jobs:
downstream1:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/enforce-label.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Enforce PR label

concurrency:
group: label-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
Expand Down

0 comments on commit 4e775b7

Please sign in to comment.