ryanramage/Dependency Change Report

Generate a dependency change report for a (private) repo against its last release line, configure private npm auth, and publish report.json to a durable central reports repo for cross-project comparison.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
node-versionNode.js version for the runner.no18
cli-versionVersion (npm dist-tag or semver range) of dependency-change-report to run via npx. Leave empty (default) to run the CLI bundled at this action's git ref, which needs nothing published to npm.no""
base-refExplicit "older" baseline ref. If set, overrides .dcr.json and auto-detection. Leave empty to let the CLI resolve it (.dcr.json baseline, else latest stable tag).no""
config-filePath to the .dcr.json config file holding a pinned baseline.no.dcr.json
github-packages-scopesComma-separated npm scopes hosted on GitHub Packages, e.g. "@company,@company-internal". Each is mapped to npm.pkg.github.com.no""
github-packages-tokenToken used to read GitHub Packages. Defaults to the job token, but for packages published from other repos provide an org PAT / App token with packages:read.no${{ github.token }}
ignore-devSet "true" to force --ignore-dev. Leave empty to defer to the repo's .dcr.json (ignoreDev).no""
output-dirDirectory for generated reports.no./dcr-reports
publish-targetWhere to publish report.json: central-repo | artifact | none.nocentral-repo
reports-repoowner/name of the central reports repo (publish-target=central-repo).no""
reports-branchBranch in the reports repo to commit to.nomain
reports-tokenToken with contents:write on the reports repo.no""
productProduct/path prefix in the reports repo, e.g. "acme".no""
repo-kindThis repo kind: electron | react-native (used in the report path).no""
comment-on-prPost/update the markdown report as a PR comment.notrue
comment-tokenToken used for the PR comment API.no${{ github.token }}
fail-onFail the job on changes: none | major | any.nonone
namedescription
has-changestrue if any dependency changed.
added-countNumber of added dependencies.
upgraded-countNumber of upgraded dependencies.
removed-countNumber of removed dependencies.
older-versionResolved baseline ("older") ref.
newer-versionResolved current ("newer") ref.
report-json-pathAbsolute path to the generated report.json.
report-pathPath of report.json committed to the central reports repo (if published).