Skip to content

Commit e2f7884

Browse files
committed
ci: cancel previous actions
1 parent 7e75cbc commit e2f7884

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
- main
77
pull_request:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
deploy:
1115
runs-on: ubuntu-20.04
12-
concurrency:
13-
group: ${{ github.workflow }}-${{ github.ref }}
1416
steps:
1517
- uses: actions/checkout@v2
1618

0 commit comments

Comments
 (0)