What happened?
The Backport Auto Label workflow (.github/workflows/backport-auto-label.yml) fails on every PR into main. Its github-script step calls require("@actions/github") to build a second Octokit, but github-script's patched require resolves modules relative to the checked-out workspace — which has no such package — so the step aborts with Cannot find module '@actions/github'. Expected: the step labels fix: PRs and posts its report as before.
How to reproduce?
- Open or edit any PR targeting
main.
- Watch the Backport Auto Label check.
- It fails at the "Label fix PRs and request release-manager review" step.
Version/Branch
1.3.0-incubating-SNAPSHOT (main)
Commit Hash (Optional)
5040cad (#6962)
What browsers are you seeing the problem on?
No response
Relevant log output
Unhandled error: Error: Cannot find module '@actions/github'
Require stack:
- /home/runner/work/_actions/actions/github-script/v9/dist/index.js
What happened?
The Backport Auto Label workflow (
.github/workflows/backport-auto-label.yml) fails on every PR into main. Itsgithub-scriptstep callsrequire("@actions/github")to build a second Octokit, but github-script's patchedrequireresolves modules relative to the checked-out workspace — which has no such package — so the step aborts withCannot find module '@actions/github'. Expected: the step labelsfix:PRs and posts its report as before.How to reproduce?
main.Version/Branch
1.3.0-incubating-SNAPSHOT (main)
Commit Hash (Optional)
5040cad (#6962)
What browsers are you seeing the problem on?
No response
Relevant log output
Unhandled error: Error: Cannot find module '@actions/github'
Require stack: