charts/.github/workflows/charts-helm-docs.yaml

49 lines
1.3 KiB
YAML
Raw Normal View History

name: "Charts: helm-docs"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update-helm-docs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
with:
2021-03-12 13:57:27 +00:00
version: v3.5.3
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install helm-docs
run: |
wget -O /tmp/helm-docs.deb https://github.com/norwoodj/helm-docs/releases/download/v1.5.0/helm-docs_1.5.0_linux_amd64.deb
sudo dpkg -i /tmp/helm-docs.deb
- name: Update Helm docs
run: |
./hack/gen-helm-docs.sh
- name: Create pull request for helm-docs
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: "helm-docs/ci"
delete-branch: true
2021-03-12 13:57:27 +00:00
title: "chore(docs): update helm-docs [ci-skip]"
signoff: true
committer: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
2021-03-12 13:57:27 +00:00
commit-message: "chore(docs): update helm-docs [ci-skip]"
body: |
Signed-off-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
labels: helm-docs