This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Refresh Operator Docs | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
gendocs: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'write' | |
id-token: 'write' | |
pull-requests: 'write' | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
- name: 'Regenerate Docs' | |
run: make crd-docs | |
- id: date | |
run: echo "date=$(date +%Y%m%d%H%M%S)" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: Generating Api Docs for ${{steps.date.outputs.date}} | |
body: Automated pull request to regenerate api docs for the Plural operator | |
commit-message: Update docs for operator | |
branch: docs-${{steps.date.outputs.date}} | |
labels: release | |
base: main |