Skip to content

Commit 6bd1aae

Browse files
committed
Update CI/CD: run workflow just once for pull_request/push events
1 parent 0126926 commit 6bd1aae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- push
66
- workflow_dispatch
77

8+
concurrency:
9+
cancel-in-progress: true
10+
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
11+
812
jobs:
913
pre-commit:
1014
name: Run pre-commit

0 commit comments

Comments
 (0)