Skip to content

Commit

Permalink
Add an instruction on GithubActions to cancel in-progrss runs
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Oct 29, 2023
1 parent cb699c6 commit 35164de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ defaults:
run:
shell: bash

# Cancel running actions when a new action on the same PR is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
cabal:
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
Expand Down

0 comments on commit 35164de

Please sign in to comment.