Skip to content

ci: init gh-actions

ci: init gh-actions #1

Workflow file for this run

name: Helm Docs
on:
push:
branches:
- main
paths:
- .github/workflows/**
- charts/**
workflow_dispatch: { }
permissions: { }
jobs:
update-docs:
name: Update Docs
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # tag=v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # tag=v5.0.1
with:
go-version: "1.22"
check-latest: true
- name: Install helm-docs
run: go install -v github.com/norwoodj/helm-docs/cmd/[email protected]
- name: Run helm-docs
run: helm-docs
- name: Create Pull Request
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # tag=v6.0.5
with:
add-paths: "charts/*/README.md"
branch: update-helm-docs
body: "Updates Helm chart documentation using [helm-docs](https://github.com/norwoodj/helm-docs)"
commit-message: Update helm docs
delete-branch: true
labels: documentation
signoff: true
title: Update helm docs