Skip to content

Fix npm audit failures on releases/v5 - #1154

Merged
brunoborges merged 3 commits into
actions:releases/v5from
brunoborges:brunoborges-fix-v5-npm-audit
Jul 29, 2026
Merged

Fix npm audit failures on releases/v5#1154
brunoborges merged 3 commits into
actions:releases/v5from
brunoborges:brunoborges-fix-v5-npm-audit

Conversation

@brunoborges

Copy link
Copy Markdown
Contributor

Description:
npm audit --audit-level=high fails on releases/v5 because transitive minimatch, brace-expansion, and js-yaml versions are covered by new denial-of-service advisories.

Override minimatch with the patched 10.2.6 release, refresh the lockfile, and rebuild the checked-in action bundles. The audit now reports zero vulnerabilities.

Related issue:
N/A

Check list:

  • Ran npm run check locally (format, lint, build, test) and all checks pass.
  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Override minimatch with the patched release and refresh transitive dependencies and bundled action output.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 61439b48-bcf1-4855-94e9-31c4da3e8314
Copilot AI review requested due to automatic review settings July 28, 2026 22:59
@brunoborges
brunoborges requested a review from a team as a code owner July 28, 2026 22:59
@brunoborges
brunoborges changed the base branch from main to releases/v5 July 28, 2026 22:59
@brunoborges brunoborges reopened this Jul 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses npm audit --audit-level=high failures on releases/v5 by updating vulnerable transitive dependencies (notably minimatch, brace-expansion, and js-yaml) via an npm override, refreshing the lockfile, and updating the checked-in compiled action bundle output.

Changes:

  • Add an npm overrides entry to force a patched minimatch version.
  • Refresh package-lock.json to resolve updated transitive versions (including brace-expansion and js-yaml).
  • Update the checked-in dist/cleanup/index.js bundle to reflect the new dependency graph.
Show a summary per file
File Description
package.json Adds an npm override to force a patched minimatch version.
package-lock.json Updates resolved transitive dependency versions to eliminate audit findings.
dist/cleanup/index.js Rebuilds the compiled cleanup action bundle with updated dependency contents.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/4 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment thread package.json
brunoborges and others added 2 commits July 28, 2026 19:10
Use ESLint's directory and extension arguments so file enumeration does not depend on minimatch handling absolute Windows paths after the security override.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the transitive override at the validated patched release to avoid unrelated changes during future lockfile refreshes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@brunoborges
brunoborges merged commit 6a3384d into actions:releases/v5 Jul 29, 2026
405 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants