Skip to content

Commit b7d2c48

Browse files
committed
Add concurency group and push/PR handle to CI workflow
1 parent 0a0ea5b commit b7d2c48

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: CI
22

33
on:
4-
# push:
5-
# pull_request:
4+
push:
5+
pull_request:
66
workflow_dispatch:
77

8+
# JUNGVI: Create a concurrency group per branch such that only the latest commit on a branch runs workflows
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
813
jobs:
914

1015
build-deepquant:

0 commit comments

Comments
 (0)