Update release metadata #1647
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 release metadata | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 1 * * *' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Install dependencies | |
| run: sudo apt -y install jq jo perl curl parallel | |
| - name: Run update script | |
| env: | |
| GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: ./bin/update.bash | |
| - name: Run metadata tests | |
| run: | | |
| cd tests | |
| ./test.normalize-metadata.bash | |
| cd - | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: Update metadata | |
| title: Update metadata | |
| base: main | |
| labels: automated-pr | |
| assignees: ${{ vars.CREATE_PR_ASSIGNEES || 'roele' }} | |
| reviewers: ${{ vars.CREATE_PR_REVIEWERS || 'roele' }} | |
| branch: issues/update-metadata | |
| delete-branch: true |