📝 check for updated docs in pipeline (#98) #2
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: Check docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
paths: | |
- "charts/**" | |
- ".github/workflows/**" | |
jobs: | |
test: | |
name: Check for updated Helm Chart docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Install helm-docs | |
run: | | |
go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest | |
- name: Check if README is missing updates | |
run: | | |
helm-docs | |
git diff --exit-code charts/athens-proxy/README.md |