Update Metadata #13
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
| name: Update Metadata | |
| on: | |
| schedule: | |
| - cron: "0 6 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-metadata: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install pyyaml | |
| - name: Fetch metadata | |
| run: python3 scripts/fetch_metadata.py | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Create pull request | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| commit-message: "chore: update GitHub metadata for all entries" | |
| title: "chore: weekly metadata update" | |
| body: | | |
| Automated weekly update of GitHub metadata for all GitHub-backed entries. | |
| branch: chore/update-metadata | |
| delete-branch: true | |
| labels: maintenance | |
| signoff: true |