mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
a032abb1a6
* CI for helm-docs * add sudo to command * no need for input partm * use schedule as trigger * Update .github/workflows/charts-helm-docs.yaml Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com> * Update .github/workflows/charts-helm-docs.yaml Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com> Co-authored-by: angelnu <git@angelnucom> Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
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:
|
|
version: v3.4.0
|
|
|
|
- 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
|
|
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>"
|
|
commit-message: "chore(docs) update helm-docs [ci-skip]"
|
|
body: |
|
|
Signed-off-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
|
labels: helm-docs
|