Skip to content

Commit

Permalink
Automatically create PR for Helm Docs on chart change
Browse files Browse the repository at this point in the history
Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
  • Loading branch information
k0da committed Oct 21, 2021
1 parent c6aae9b commit 4530cf0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/helm_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Helm docs
on:
push:
branches:
- 'master'
paths:
- 'chart/k8gb/**'
jobs:
build-helm-doc:
name: Update Helm Doc
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Check all charts README.md
uses: docker://jnorwood/helm-docs:v1.5.0
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "Update Helm Docs"
branch: ci-helm-doc
delete-branch: true
base: master
signoff: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4530cf0

Please sign in to comment.