Skip to content

[create-pull-request] automated change (#1785) #163

[create-pull-request] automated change (#1785)

[create-pull-request] automated change (#1785) #163

Workflow file for this run

name: Helm docs
on:
push:
branches:
- 'master'
paths:
- 'chart/k8gb/**'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build-helm-doc:
permissions:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR
name: Update Helm Doc
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Generate docs for helm chart - chart/k8gb/README.md
uses: docker://jnorwood/helm-docs@sha256:7e562b49ab6b1dbc50c3da8f2dd6ffa8a5c6bba327b1c6335cc15ce29267979c
with:
args: --template-files=_helm-docs-template.gotmpl
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
title: "Update Helm Docs"
branch: ci-helm-doc
delete-branch: true
base: master
signoff: true
token: ${{ secrets.GITHUB_TOKEN }}