Skip to content

Commit

Permalink
Merge pull request #1993 from tweag/ci-cancel-workflows
Browse files Browse the repository at this point in the history
Cancel running workflows for the same branch/tag automatically
  • Loading branch information
mergify[bot] authored Oct 21, 2023
2 parents 45f0bcc + 16cd509 commit 8271ec2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/patch-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
name: Extract from gen_ghc_bindist
run: python .github/extract_from_ghc_bindist.py
test-ghc-patches:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.ghc-version }}
cancel-in-progress: true
name: Test GHC patches
needs: find-ghc-version
strategy:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
jobs:
test-nixpkgs:
name: Build & Test - Nixpkgs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.module }}-${{ matrix.bzlmod }}-nixpkgs
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -107,6 +110,9 @@ jobs:
test-bindist:
name: Build & Test - bindist
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.module }}-${{ matrix.bzlmod }}-${{ matrix.ghc }}-bindist
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 8271ec2

Please sign in to comment.