Redirect legacy plugin submission pull requests #29
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: Redirect legacy plugin submission pull requests | |
| on: | |
| schedule: | |
| - cron: "17,47 * * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| concurrency: | |
| group: legacy-submission-pr-redirect | |
| cancel-in-progress: false | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Redirect catalog-only plugin submissions to the Issue Form | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| run: >- | |
| python3 scripts/reconcile_submission_prs.py | |
| --redirect-prs | |
| --output pr-intake.json | |
| - name: Upload the intake ledger | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: legacy-submission-pr-redirect-${{ github.run_id }} | |
| path: pr-intake.json | |
| if-no-files-found: error | |
| retention-days: 14 |