Skip to content

tweak workflow perms to allow running certain checks in fork PR upstr… #625

tweak workflow perms to allow running certain checks in fork PR upstr…

tweak workflow perms to allow running certain checks in fork PR upstr… #625

Workflow file for this run

name: Generate Helm docs
on:
push:
branches:
- '**'
tags-ignore:
- '**'
workflow_dispatch:
jobs:
docs:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render helm docs inside the README.md and push changes back to branch
uses: netfoundry/helm-docs-action@v1
with:
# recursively generate README.md for all charts in comma-sep list of
# parent dirs
search-roots: charts
git-push: "true"