Skip to content

Commit 50ee0b5

Browse files
committed
chore(ci): concurrency group for integration test
Add a concurrency group for integration test workflow. Integration tests are flaky otherwise. Workflow is now triggered automatically without approval, but will queue up if there's other runs active at the time. Signed-off-by: Ville Vesilehto <ville.vesilehto@upcloud.com>
1 parent 917a7dd commit 50ee0b5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/integration-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: integration-test
22

33
on:
4-
pull_request_review:
5-
types: [submitted]
4+
pull_request:
65
paths:
76
- '**.go'
87
- 'go.mod'
98
- 'go.sum'
109
- '.github/workflows/integration-test.yaml'
10+
- 'Makefile'
11+
workflow_dispatch:
1112

1213
permissions:
1314
contents: read
1415

16+
concurrency:
17+
group: integration-test
18+
1519
jobs:
1620
integration-test:
1721
if: github.event.review.state == 'approved'

0 commit comments

Comments
 (0)