We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35b078 commit 7936377Copy full SHA for 7936377
.github/workflows/generate.yaml
@@ -0,0 +1,33 @@
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@v6
21
+ with:
22
+ go-version-file: go.mod
23
24
+ - name: Update generated artifacts
25
+ run: |
26
+ go mod tidy
27
+ make generate
28
29
+ git config user.name "${{ vars.WORKFLOW_USER_NAME }}"
30
+ git config user.email "${{ vars.WORKFLOW_USER_EMAIL }}"
31
+ git add -A
32
+ git commit -m "Update generated artifacts"
33
+ git push
0 commit comments