chore(deps): update dependency @actions/github to v9 - #237
Conversation
032bfed to
e673e15
Compare
| @@ -22,7 +22,7 @@ | |||
| "homepage": "https://github.com/clevyr/deploy-matrix-action#readme", | |||
| "dependencies": { | |||
There was a problem hiding this comment.
Bug: The build tool @vercel/ncc cannot bundle the new ESM-only @actions/github dependency, creating a broken artifact that will cause the action to crash at runtime.
Severity: CRITICAL
Suggested Fix
Update the build process to correctly handle ESM modules. This can be achieved by either upgrading @vercel/ncc to a version with proper ESM support or replacing it with an alternative bundler like esbuild or webpack. Alternatively, revert the @actions/github dependency to a CommonJS-compatible version until the build system is updated.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L23
Potential issue: The project's build tool, `@vercel/ncc@0.38.3`, does not correctly
handle the newly introduced ESM-only dependency `@actions/github@9.0.0`. While the build
command (`npm run build`) completes without error, it produces a non-functional
`dist/index.js` file that is missing the core application logic from `src/index.js`.
When the GitHub Action is triggered, it will attempt to execute this broken bundle,
resulting in a runtime crash and complete failure of the action.
Did we get this right? 👍 / 👎 to inform future reviews.
a2ec9bf to
b3f8f2d
Compare
f1c19e6 to
db73810
Compare
d7204f7 to
73ca392
Compare
1503a15 to
e886ccf
Compare
7e448a1 to
3a5cc44
Compare
cbcba57 to
056f168
Compare
62b26ee to
d70876d
Compare
af4c095 to
789e47e
Compare
d861c3c to
d485b21
Compare
7d0d953 to
0e7069a
Compare
469685b to
5a527a1
Compare
5c171af to
781b1ce
Compare
ebbfb0d to
c417773
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
6.0.0→9.1.1Release Notes
actions/toolkit (@actions/github)
v9.1.1undicifrom6.23.0to6.24.0#2346v9.1.0actions_orchestration_idto user-agent when theACTIONS_ORCHESTRATION_IDenvironment variable is set #2364v9.0.0import()instead ofrequire()const { getOctokit, context } = await import('@​actions/github')@octokit/core/typesv8.0.1undicito6.23.0@actions/http-clientto3.0.2v8.0.0@octokit/core^7.0.6@octokit/plugin-paginate-rest^14.0.0@octokit/plugin-rest-endpoint-methods^17.0.0@octokit/request^10.0.7@octokit/request-error^7.1.0v7.0.0@actions/http-clientv6.0.1context.runAttempt#1588Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.