Skip to content

Commit

Permalink
cancel redundant runs
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Nov 8, 2024
1 parent 45297fa commit b9a6aa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
branches: [main, dev]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
unit_tests:
name: Unit Tests
Expand Down

0 comments on commit b9a6aa9

Please sign in to comment.