Skip to content

Commit c052e46

Browse files
authored
Merge pull request #1048 from dolthub/zachmu/ci
[no-release-notes] Added concurrency control for CI
2 parents bfd1420 + f910e08 commit c052e46

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/format.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
branches: [ main ]
66

7+
concurrency:
8+
group: format-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
format:
913
name: Format PR

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Test
22
on: [pull_request]
3+
4+
concurrency:
5+
group: test-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
38
jobs:
49
test:
510
strategy:

0 commit comments

Comments
 (0)