Skip to content

Commit

Permalink
ci(build): cancel in progress runs on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Jan 8, 2024
1 parent 0951966 commit b69a2f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
- pull_request
- push

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

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

0 comments on commit b69a2f5

Please sign in to comment.