Redirect legacy plugin submission pull requests #6
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: Scan plugin submission pull requests | |
| on: | |
| schedule: | |
| - cron: "7,37 * * * *" | |
| workflow_dispatch: | |
| permissions: | |
| actions: write | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| concurrency: | |
| group: submission-pr-intake | |
| cancel-in-progress: false | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Reconcile submissions and queue targeted reviews | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| run: >- | |
| python3 scripts/reconcile_submission_prs.py | |
| --apply-published | |
| --handle-exceptions | |
| --queue-reviews | |
| --output pr-intake.json | |
| - name: Upload the intake ledger | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: submission-pr-intake-${{ github.run_id }} | |
| path: pr-intake.json | |
| if-no-files-found: error | |
| retention-days: 14 |