You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): migrate github-script to v8 — repair the repo-wide broken gate check
GitHub's runner infra force-upgrades actions/github-script@v7 to Node 24,
where the script-side require('@actions/github') can no longer resolve.
Every recent PR shows a red 'gate' check with 'Cannot find module
@actions/github' regardless of whether it links an issue.
- Pin actions/github-script to ed597411 (v8.0.0) in pr-triage, ci-nudge,
issue-triage.
- Replace require('@actions/github').getOctokit(APP_TOKEN) with
new (github.constructor)({ auth: APP_TOKEN }) — v8.0.0 injects no
getOctokit helper (verified against src/async-function.ts at the pinned
SHA), and the wrapped require cannot resolve modules without a checkout.
- Bump actions/stale to 1e223db (v10.4.0).
Diagnosis first surfaced by @sandman-sh in #257 — thank you! This lands
separately with a SHA pin and a require-free client construction.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments