Yicong-Huang opened a new issue, #6969:
URL: https://github.com/apache/texera/issues/6969
### 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?
1. Open or edit any PR targeting `main`.
2. Watch the **Backport Auto Label** check.
3. It fails at the "Label fix PRs and request release-manager review" step.
### Version/Branch
1.3.0-incubating-SNAPSHOT (main)
### Commit Hash (Optional)
5040cadf3830 (#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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]