Skip to content

Commit

Permalink
add automation to cancel concurrent runs (#939)
Browse files Browse the repository at this point in the history
add automation to cancel concurrent runs
  • Loading branch information
laurenolivia committed Jun 22, 2023
1 parent a082d79 commit 8b2e01d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
push:
branches: [ main ]
pull_request:

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

jobs:
lint:
name: lint
Expand Down

0 comments on commit 8b2e01d

Please sign in to comment.