Skip to content

Commit 44edcc5

Browse files
EricWittmannjsenko
authored andcommitted
Operator workflow only runs when operator changes were made
1 parent 841d30b commit 44edcc5

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.github/workflows/operator.yaml

+8-18
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,14 @@ on:
33
push:
44
branches:
55
- main
6-
paths-ignore:
7-
- '.gitignore'
8-
- 'LICENSE'
9-
- 'README*'
10-
- 'docs/**'
11-
- '.github/workflows/**'
12-
- 'operator/install/**'
6+
paths:
7+
- 'operator/**'
138

149
pull_request:
1510
branches:
1611
- main
17-
paths-ignore:
18-
- '.gitignore'
19-
- 'LICENSE'
20-
- 'README*'
21-
- 'docs/**'
22-
- '.github/workflows/**'
23-
- 'operator/install/**'
12+
paths:
13+
- 'operator/**'
2414

2515
concurrency:
2616
group: ${{ github.workflow }}-${{ github.ref }}
@@ -64,10 +54,10 @@ jobs:
6454
- name: Setup Minikube
6555
uses: manusa/actions-setup-minikube@v2.13.0
6656
with:
67-
minikube version: v1.33.1
68-
kubernetes version: v1.25.0
69-
github token: ${{ secrets.GITHUB_TOKEN }}
70-
start args: '--force'
57+
'minikube version': v1.33.1
58+
'kubernetes version': v1.25.0
59+
'github token': ${{ secrets.GITHUB_TOKEN }}
60+
'start args': '--force'
7161

7262
- name: Enable minikube features
7363
run: |

0 commit comments

Comments
 (0)