-
-
Notifications
You must be signed in to change notification settings - Fork 25
44 lines (41 loc) · 1.21 KB
/
helm-docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # tag=v4.2.1
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # tag=v5.0.2
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@5e914681df9dc83aa4e4905692ca88beb2f9e91f # tag=v7.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