Skip to content

Commit

Permalink
Configure workflow concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrttn committed Feb 25, 2024
1 parent 4db8fac commit 89f7f6c
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 @@ -5,6 +5,10 @@ on:
branches: [main]
pull_request:

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

jobs:
lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 89f7f6c

Please sign in to comment.