Skip to content

Commit 0a74eb5

Browse files
committed
update workflows
1 parent cf875e8 commit 0a74eb5

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,3 @@ jobs:
199199
kubectl create ns component-system
200200
kubectl -n component-system apply -f examples/sample.yaml
201201
kubectl -n component-system wait -f examples/sample.yaml --for condition=Ready --timeout 120s
202-

.github/workflows/generate.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

.github/workflows/publish.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,3 @@ jobs:
186186
file=$chart_name-$chart_version.tgz
187187
repository=$REGISTRY/${{ github.repository }}/charts
188188
helm --registry-config $RUNNER_TEMP/helm-config.json push $file oci://${repository,,}
189-

0 commit comments

Comments
 (0)