Skip to content

Commit

Permalink
ci: update helm-docs in pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
estahn committed Jan 24, 2023
1 parent 949b701 commit 67e9c38
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/helm-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update helm-docs

on: pull_request

env:
HELM_DOCS_VERSION: "1.11.0"

jobs:
helm-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install binaries
run: |
mkdir -p $GITHUB_WORKSPACE/bin
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
curl -sSL https://github.com/norwoodj/helm-docs/releases/download/v${{env.HELM_DOCS_VERSION}}/helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz | tar xvfz - --overwrite -C $GITHUB_WORKSPACE/bin
- run: helm-docs

- uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: 'charts/**/README.md'
commit_message: 'docs: update helm-docs'

0 comments on commit 67e9c38

Please sign in to comment.