Generate and Propose CNCF Project Page Update #35
This file contains hidden or 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
| # .github/workflows/main.yaml | |
| name: Generate and Propose CNCF Project Page Update | |
| on: | |
| workflow_dispatch: | |
| #schedule: | |
| # - cron: '0 0 * * *' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| build-and-propose-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Generate Project Page | |
| id: build-step | |
| uses: ./calendar_update | |
| with: | |
| lfx-token: ${{ secrets.LFX_TOKEN }} | |
| - name: Create Pull Request with updated index.html | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| title: "Automated CNCF Calendar Update" | |
| body: | | |
| This is an auto-generated PR with the latest project calendar updates. | |
| Please review the changes to `index.html` and merge if they look correct. | |
| branch: "update/cncf-calendar-${{ github.run_id }}" | |
| # labels: automated, documentation |