Skip to content

Commit 551e2e7

Browse files
committed
Support cancelling PR workflows when new commit is pushed
1 parent 1293489 commit 551e2e7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,3 +274,7 @@ jobs:
274274
with:
275275
token: ${{ secrets.CODECOV_TOKEN }}
276276
verbose: true
277+
278+
concurrency:
279+
group: ${{ github.workflow }}-${{ github.ref }}
280+
cancel-in-progress: ${{ contains(github.ref, 'master') }}

0 commit comments

Comments
 (0)