Skip to content

feat(#58): label plugin (#164) #22

feat(#58): label plugin (#164)

feat(#58): label plugin (#164) #22

Workflow file for this run

name: Docs
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- main
permissions:
contents: read
jobs:
check-generated-docs:
name: Check generated docs are up to date
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.25"
- name: Regenerate docs
run: go run ./cmd/docgen
- name: Check for diff
run: |
if ! git diff --exit-code docs/; then
echo ""
echo "Generated docs are out of date. Run 'task gen' and commit the result."
exit 1
fi