Skip to content

fix: cluster chart make schema docs generation missing entry #141

fix: cluster chart make schema docs generation missing entry

fix: cluster chart make schema docs generation missing entry #141

Workflow file for this run

##
# Create a PR for a release when a commit is pushed on a release/*-v* branch to support the releases of both the
# operator and cluster charts
name: release-pr
on:
push:
branches:
- release/*-v*
permissions: read-all
jobs:
create-pull-request:
runs-on: ubuntu-24.04
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Create Pull Request
id: create-pr
env:
GH_TOKEN: ${{ secrets.REPO_GHA_PAT }}
ACTOR: ${{ github.actor }}
run: |
TAG="${GITHUB_REF##*/}"
TITLE="Release ${TAG}"
BODY="Automated PR. Will trigger the ${TAG} release when approved."
LABEL=release
ASSIGNEE="${ACTOR}"
gh pr create --title "${TITLE}" --body "${BODY}" --label "${LABEL}" --assignee "${ASSIGNEE}" ||
gh pr edit --title "${TITLE}" --body "${BODY}" --add-label "${LABEL}"