This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
chore: bump major version for all charts to alert to repository move. #1129
Workflow file for this run
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: Helm Docs | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
helm-docs: | |
runs-on: ubuntu-latest | |
# Only run this for PRs from the charts repo itself (to auto-update docs for renovate PRs) | |
# For PRs made by humans, running pre-commit locally is required. | |
if: ${{ github.event.pull_request.head.repo.full_name == 'morremeyer/charts' }} | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4 | |
with: | |
# renovate: go-version | |
go-version: 1.20.5 | |
- name: Install helm-docs | |
# renovate: datasource=github-releases depName=norwoodj/helm-docs | |
run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.11.0 | |
- name: regenerate documentation | |
run: $HOME/go/bin/helm-docs | |
- name: Commit updated docs | |
uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9.1.3 | |
with: | |
message: "docs: regenerate chart README.md" | |
add: "charts/**/README.md" | |
pull: "--rebase --autostash" | |
author_name: Morre's Bot | |
author_email: morremeyer-bot@maurice-meyer.de |