Skip to content

Prevent flapping of external DNS configuration (#1767) #11

Prevent flapping of external DNS configuration (#1767)

Prevent flapping of external DNS configuration (#1767) #11

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
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 }}