taopaic/Yarn CVE Auto-Upgrade

Automatically upgrades yarn packages to resolve CVE vulnerabilities, commits the yarn.lock changes to a new branch, and opens a pull request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
module_listComma-separated list of npm module names to upgrade (e.g. "lodash,axios"). If omitted, the action runs `yarn npm audit` to discover vulnerable packages automatically. no""
workdirWorking directory in which to run yarn and git commands. Defaults to the repository root. no""
base_branchTarget branch for the pull request. Defaults to the branch the action is running on when left empty. no""
pr_prefixPrefix used in the pull request title (e.g. "CHORE", "fix", "deps"). noCHORE
labelsComma-separated list of labels to apply to the pull request (e.g. "dependencies,security"). Leave empty to add no labels. no""
npmMinimalAgeGateMinimum package publish age required before a version is accepted. Accepts a plain number or a number with a time unit suffix (ms, s, m, h, d, w) — e.g. "72h" or "3d". Only applies to Yarn Berry (v2+); has no effect on Yarn v1. Leave empty to skip setting this value. no""
severityMinimum severity level to include in the audit. When set, limits the audit to vulnerabilities of the corresponding severity and above. Valid values are `info`, `low`, `moderate`, `high`, `critical`. Leave empty to report all severities. no""
github_tokenGitHub token used to create the pull request. Typically `secrets.GITHUB_TOKEN`. yes
namedescription
reportHuman-readable upgrade summary listing which modules were upgraded, left unchanged, or failed.
pr_urlURL of the pull request created with the yarn.lock changes. Empty if no modules were upgraded.