fix: upgrade @actions/github to 8.0.1 and @actions/core to 2.0.3 to resolve undici CVEs#695
Merged
Zee2413 merged 1 commit intoMar 30, 2026
Conversation
…esolve undici CVEs Upgrade action/ production dependencies to resolve 5 Dependabot alerts for undici (CVE-2026-1525, CVE-2026-1526, CVE-2026-1527, CVE-2026-2229, CVE-2026-22036): - @actions/github: 6.0.1 → 8.0.1 - @actions/core: 1.11.1 → 2.0.3 - @actions/exec: 1.1.1 → 2.0.0 - undici: 5.29.0 → 6.24.1 Code changes: - handlePullRequestRun.ts: add explicit type annotation for Octokit listFiles response (type inference changed in new @octokit/*) - package.json: add Jest transformIgnorePatterns for ESM dependencies (@octokit/* packages are now ESM) - dist/: rebuilt bundle Verified: npm run lint ✅, npm test ✅ (20/20), npm run package ✅
satyakigh
approved these changes
Mar 30, 2026
chrisqm-dev
approved these changes
Mar 30, 2026
This was referenced Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves 5 Dependabot alerts for
undiciinaction/by upgrading production dependencies to versions that useundici@6.24.1.Vulnerabilities Resolved
upgradeoptionDependency Changes
@actions/github6.0.18.0.1@actions/core1.11.12.0.3@actions/exec1.1.12.0.0undici(transitive)5.29.06.24.1Note:
@actions/github@9.0.0was ESM-only and incompatible with the project's CJS setup.8.0.1provides the sameundicifix while maintaining CJS compatibility.Code Changes
src/handlePullRequestRun.ts: Added explicit type annotation for OctokitlistFilesresponse (type inference changed in new@octokit/*packages)package.json: Added JesttransformIgnorePatternsto handle ESM transitive dependencies (@octokit/*packages are now ESM)dist/: Rebuilt bundle vianpm run packageVerification
npm run lint✅npm test✅ (20/20 tests passed)npm run package✅