Skip to content

Commit

Permalink
CI: Cancel old PR workflow runs automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Dec 4, 2023
1 parent eab7099 commit 56b02e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ env:
jobs:
test-nixpkgs:
name: Build & Test - Nixpkgs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.ghc-version }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 56b02e4

Please sign in to comment.