Skip to content

Commit

Permalink
Automatically cancel stale CI jobs when PR content changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Mar 15, 2022
1 parent 983514d commit 601d493
Showing 1 changed file with 4 additions and 0 deletions.
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:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:

lint:
Expand Down

0 comments on commit 601d493

Please sign in to comment.