Skip to content

Commit

Permalink
Add concurrency group
Browse files Browse the repository at this point in the history
This avoids overlapping runs for the same branch or pull request.
  • Loading branch information
jonashonecker committed Jun 17, 2024
1 parent 9dd54de commit ed2e21b
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:
pull_request:
types: [ opened, synchronize, reopened ]

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

jobs:
prettier-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ed2e21b

Please sign in to comment.