Skip to content

Commit

Permalink
ci: Cancel in-progress CI runs if a new commit is pushed to the branch (
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton authored Apr 15, 2024
1 parent 016eede commit c171980
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 @@ -11,6 +11,10 @@ on:

permissions: read-all

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
# ktlintCheck does not have per-variant tasks, so runs once over everything
ktlint:
Expand Down

0 comments on commit c171980

Please sign in to comment.