Skip to content

Commit

Permalink
Trying to cancel out duplicate push/pull_request Github Actions calls…
Browse files Browse the repository at this point in the history
…. (2/?)
  • Loading branch information
BurningWitness committed May 19, 2024
1 parent 8dcab6f commit f998f5d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ defaults:
run:
shell: bash

concurrency:
group: build-${{ github.ref }}-${{ matrix.os }}-${{ matrix.ghc }}
cancel-in-progress: true

jobs:
main:
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

# https://github.com/orgs/community/discussions/57827
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit f998f5d

Please sign in to comment.