Skip to content

[GEN-2217]: enhance destinations documentation auto-generation script #25

[GEN-2217]: enhance destinations documentation auto-generation script

[GEN-2217]: enhance destinations documentation auto-generation script #25

Workflow file for this run

name: Verify CRD API docs
on:
pull_request:
branches:
- main
jobs:
check-doc-change:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate docs
run: |
cd api && make docgen
- name: Check for changes
run: |
if [[ $(git diff --exit-code) ]]; then
git diff
echo "CRD API docs need to be updated. Pleas run `make docgen` and commit the changes."
exit 1
fi