We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c44cd88 commit 1877c9fCopy full SHA for 1877c9f
.github/workflows/generate.yml
@@ -0,0 +1,24 @@
1
+Generate
2
+on:
3
+ workflow_dispatch:
4
+ schedule:
5
+ - cron: '0 0 * * 0'
6
+
7
+jobs:
8
+ generate:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ with:
13
+ submodules: recursive
14
+ - uses: actions/setup-node@v3
15
16
+ go-version: "1.19.x"
17
+ - run: git submodule update --init --recursive --remote
18
+ - run: npm run generate
19
+ - uses: peter-evans/create-pull-request@v5
20
21
+ commit-message: "chore: update submodules and npm run generate"
22
+ branch: generate
23
+ title: "Changes by ${{ github.workflow }} workflow"
24
+ body: "Automated changes by [${{ github.workflow }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) workflow run"
0 commit comments