Skip to content

Update release.yml (#89) #33

Update release.yml (#89)

Update release.yml (#89) #33

Workflow file for this run

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
- 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