Merge pull request #54 from iotaledger/fix/fruit-spam #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gendoc | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
gendoc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'tools/gendoc/go.mod' | |
cache: false | |
id: go | |
- name: Print Go version | |
run: go version | |
- 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 |