File tree Expand file tree Collapse file tree 3 files changed +34
-2
lines changed Expand file tree Collapse file tree 3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -199,4 +199,3 @@ jobs:
199
199
kubectl create ns component-system
200
200
kubectl -n component-system apply -f examples/sample.yaml
201
201
kubectl -n component-system wait -f examples/sample.yaml --for condition=Ready --timeout 120s
202
-
Original file line number Diff line number Diff line change
1
+ name : Update generated artifacts
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ defaults :
7
+ run :
8
+ shell : bash
9
+
10
+ jobs :
11
+ generate :
12
+ name : Update generated artifacts
13
+ runs-on : ubuntu-24.04
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v5
18
+
19
+ - name : Setup go
20
+ uses : actions/setup-go@v5
21
+ with :
22
+ go-version-file : go.mod
23
+
24
+ - name : Update generated artifacts
25
+ run : |
26
+ go mod tidy
27
+ make generate
28
+ make manifests
29
+
30
+ git config user.name "${{ vars.WORKFLOW_USER_NAME }}"
31
+ git config user.email "${{ vars.WORKFLOW_USER_EMAIL }}"
32
+ git add -A
33
+ git commit -m "Update generated artifacts"
34
+ git push
Original file line number Diff line number Diff line change @@ -186,4 +186,3 @@ jobs:
186
186
file=$chart_name-$chart_version.tgz
187
187
repository=$REGISTRY/${{ github.repository }}/charts
188
188
helm --registry-config $RUNNER_TEMP/helm-config.json push $file oci://${repository,,}
189
-
You can’t perform that action at this time.
0 commit comments