Skip to content

Commit

Permalink
cancel in progress runs with PR updates
Browse files Browse the repository at this point in the history
  • Loading branch information
yaswant committed Jan 13, 2025
1 parent f31ba59 commit 74ec869
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
push:
branches: [main, 'releases/**']

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

permissions: read-all

jobs:
Expand Down

0 comments on commit 74ec869

Please sign in to comment.