Skip to content

Merge pull request #46 from nitram509/dependabot/go_modules/golang.or… #84

Merge pull request #46 from nitram509/dependabot/go_modules/golang.or…

Merge pull request #46 from nitram509/dependabot/go_modules/golang.or… #84

Workflow file for this run

name: update README.md code blocks
on:
push:
branches:
- main
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: "setup go"
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: "build binary and print --help"
run: |
go build -o ntgrrc .
./ntgrrc --help-all >help.txt
- name: Markdown autodocs
uses: dineshsonachalam/markdown-autodocs@v1.0.4
with:
# Optional, defaults to author of the commit that triggered the run
commit_author: Author <actions@github.com>
# Optional, defaults to "actions@github.com"
commit_user_email: actions@github.com
# Optional, but recommended
# Defaults to "Apply automatic changes"
commit_message: Apply automatic changes
# Optional branch name where commit should be pushed to.
# Defaults to the current branch.
# branch: feature-123
# Optional output file paths, defaults to '[./README.md]'.
output_file_paths: '[./README.md]'
# Categories to automatically sync or transform its contents in the markdown files.
# Defaults to '[code-block,json-to-html-table,workflow-artifact-table]'
categories: '[code-block]'