Merge pull request #448 from iotaledger/feat/wallet-centric-testing #290
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: self-hosted | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'tools/gendoc/go.mod' | |
cache: false | |
- 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@v4 | |
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 |