Skip to content

Commit d29fcf5

Browse files
authored
Only execute one set of tests on PRs instead of two: one for the PR and another for the push. (#519)
1 parent 87bbe8e commit d29fcf5

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ name: "lint"
33

44
on: # yamllint disable-line rule:truthy
55
pull_request:
6-
push:
7-
branches-ignore:
8-
- '*_test'
9-
- '*_dev'
10-
- '*_cloud'
6+
branches: main
7+
workflow_dispatch:
118

129
jobs:
1310
lint:

.github/workflows/test_cloud.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: "test_cloud"
33

44
on: # yamllint disable-line rule:truthy
5-
push:
6-
branches:
7-
- '*_cloud'
5+
pull_request:
6+
branches: main
87
workflow_dispatch:
98

109
jobs:

.github/workflows/test_matrix.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ name: "test_matrix"
44
on: # yamllint disable-line rule:truthy
55
pull_request:
66
branches: main
7-
push:
8-
branches-ignore:
9-
- '*_test'
10-
- '*_dev'
11-
- '*_cloud'
12-
paths-ignore:
13-
- '**.md'
14-
- 'LICENSE'
157
workflow_dispatch:
168

179
jobs:

0 commit comments

Comments
 (0)