Skip to content

Commit 1c07cea

Browse files
committed
update workflows
1 parent 02d3a02 commit 1c07cea

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
@@ -122,4 +122,3 @@ jobs:
122122
with:
123123
name: image.tar
124124
path: ${{ runner.temp }}/image.tar
125-

.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
@@ -220,4 +220,3 @@ jobs:
220220
ref: main
221221
token: ${{ secrets.WORKFLOW_USER_GH_TOKEN }}
222222
inputs: '{ "version-bump": "${{ steps.update.outputs.version_bump }}" }'
223-

0 commit comments

Comments
 (0)