Skip to content

Commit

Permalink
cancel in progress if pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
chingc committed Dec 23, 2022
1 parent 4fb2b51 commit 9c78514
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- main

concurrency:
group: tests-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
test:
strategy:
Expand Down

0 comments on commit 9c78514

Please sign in to comment.