-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (37 loc) · 1.06 KB
/
gendoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: gendoc
on:
push:
branches:
- develop
jobs:
gendoc:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
id: go
- name: Print Go version
run: go version
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Run gendoc
working-directory: tools/gendoc
run: go mod tidy && go run main.go
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "chore(gendoc): update docs"
commit-message: "chore(gendoc): update docs"
body: |
Generated new config documentation.
This PR is auto generated by [gendoc workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Agendoc).
branch: chore/gendoc
base: develop
add-paths: |
*.json
*.md