Skip to content

[Health Checks] Provision RPC module before P2P module #150

[Health Checks] Provision RPC module before P2P module

[Health Checks] Provision RPC module before P2P module #150

name: Generate helm docs
on:
pull_request:
paths:
- "charts/**/README.md.gotmpl"
- "charts/**/values.yaml"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install helm-docs
uses: envoy/[email protected]
with:
# Helm Docs Version to install (Mandatory)
version: 1.11.0
- name: Generate helm docs
run: helm-docs --chart-search-root=charts
- run: |
git config user.name github-actions
git config user.email [email protected]
if [[ -n $(git status --porcelain) ]]; then
git add .
git commit -m "add generated helm docs"
git push
else
echo "No changes detected, skipping commit and push."
fi