Skip to content

Commit ed5f0c8

Browse files
authored
Cancel concurrent downstream tests (#82)
1 parent 5e27f96 commit ed5f0c8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

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

33
concurrency:
4-
group: build-${{ github.event.pull_request.number || github.ref }}
4+
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
55
cancel-in-progress: true
66

77
on:
@@ -12,6 +12,7 @@ on:
1212
- 'LICENSE'
1313
- 'README.md'
1414
- '.github/workflows/TagBot.yml'
15+
tags: '*'
1516
pull_request:
1617
paths-ignore:
1718
- 'LICENSE'

.github/workflows/downstream.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: IntegrationTest
2+
3+
concurrency:
4+
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
5+
cancel-in-progress: true
6+
27
on:
38
push:
49
branches: [master]
5-
tags: [v*]
10+
tags: '*'
611
paths-ignore:
712
- 'LICENSE'
813
- 'README.md'

0 commit comments

Comments
 (0)