mirror of
https://github.com/Heretek-AI/awesome-opencode.git
synced 2026-11-10 10:21:31 -10:00
Cap Retry-After waits at 20s, lower scout's npm concurrency to 4, and add job timeouts so a rate-limited weekly or nightly run fails visibly instead of running for hours. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EHYZtiXaVB71TSBhHnynk4
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# Nightly re-check of PRs labeled needs-v2: unblocks them once the target migrates to the V2 plugin
|
|
# API, and closes them after 60 days on V1 (see docs/policy.md).
|
|
name: Re-check V2 migrations
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '43 6 * * *'
|
|
workflow_dispatch:
|
|
inputs:
|
|
pr:
|
|
description: 'Only this PR number (optional)'
|
|
required: false
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
issues: write
|
|
actions: write
|
|
|
|
concurrency:
|
|
group: reprobe
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
reprobe:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '24'
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci --ignore-scripts
|
|
|
|
- name: Re-check held PRs
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|
|
ONLY_PR: ${{ inputs.pr }}
|
|
run: |
|
|
if [ -n "${ONLY_PR:-}" ]; then
|
|
node scripts/reprobe.js --pr "$ONLY_PR"
|
|
else
|
|
node scripts/reprobe.js
|
|
fi
|