Skip to content

Commit

Permalink
Auto-cancel PR CI when pushing to the same branch
Browse files Browse the repository at this point in the history
This will reduce active runners on CI when making corrections, lowering costs
and hopefully increasing stability and wall times due to machine availability.
  • Loading branch information
stoyicker committed Jun 26, 2024
1 parent 273c361 commit f77242f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow_ref }}-${{ github.ref }}
cancel-in-progress: true

jobs:
trigger-lint:
name: Trigger linters
Expand Down

0 comments on commit f77242f

Please sign in to comment.