Files
AnyPS5/.github/workflows/pr-ready.yml
T
klosixgaming-arch 621f7268e9 feat(tools): queue the oldest pull requests that need no more author work
Reads every open pull request through paged GraphQL, ignores bot jobs, treats a change request as answered only once the reviewer is asked again, and labels and lists the oldest 30.
2026-10-31 08:09:02 -05:00

29 lines
684 B
YAML

name: PR review queue
on:
schedule:
- cron: '50 * * * *'
workflow_dispatch:
permissions: {}
concurrency:
group: pr-review-queue
jobs:
queue:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@v7
- env:
GH_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
QUEUE_ISSUE: ${{ vars.REVIEW_QUEUE_ISSUE }}
run: |
if [ -n "$QUEUE_ISSUE" ]; then
python3 -I tools/pr_ready.py --issue "$QUEUE_ISSUE"
else
python3 -I tools/pr_ready.py
fi