mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
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.
29 lines
684 B
YAML
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
|