Skip to content

Commit

Permalink
feat: check command docs are up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger committed Aug 28, 2023
1 parent f024b67 commit 2f47a51
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/command_doc_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Command Doc Check
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Generate command docs
run: go run ./scripts/gen-doc-yaml.go
- name: Check no uncommited changes
run: git diff-index --quiet HEAD --

0 comments on commit 2f47a51

Please sign in to comment.