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 @@ -122,4 +122,3 @@ jobs:
122122 with :
123123 name : image.tar
124124 path : ${{ runner.temp }}/image.tar
125-
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 @@ -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-
You can’t perform that action at this time.
0 commit comments