-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 check for updated docs in pipeline (#98)
Using `helm-docs` (https://github.com/norwoodj/helm-docs)
- Loading branch information
1 parent
88dbeb9
commit ae590b8
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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 |
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
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