Skip to content

Commit 54adc8d

Browse files
committed
cancel in progress except main
1 parent 29575f8 commit 54adc8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Django CI
22

33
on: [push]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
8+
59
jobs:
610
build-amd64:
711
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)