-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Since the version number changes before release, it makes sense to automatically regenerate the helm docs in the release workflow. Should be relatively easy to do like this (might need a few tweaks):
# After "Add repositories" and before "Run chart-releaser"
- name: Generate chart docs (helm-docs)
uses: norwoodj/[email protected]
with:
chart-search-root: charts
template-files: README.md.gotmpl
output-file: README.md
- name: Commit updated docs (only if changed and not by bot)
if: ${{ github.actor != 'github-actions[bot]' }}
run: |
if ! git diff --quiet; then
git add -A
git commit -m "chore(docs): regenerate chart README and version metadata [skip ci]"
git push origin main
fiMetadata
Metadata
Assignees
Labels
No labels