washogren/Auto-update dependencies

Resolve an npm dist-tag, bump the consumer package.json, render a rich PR body (commits + grouped PRs from the dependency repo), and open a PR via peter-evans/create-pull-request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
packageThe npm package name (e.g. @your-org/your-dependency).yes
tagThe dist-tag to track (e.g. dev, staging, prod).yes
base-branchThe branch to open the PR against. Defaults to the current ref (GITHUB_REF_NAME).no
npm-registryThe npm registry to read from. Defaults to https://npm.pkg.github.com.nohttps://npm.pkg.github.com
npm-scopeThe npm scope to associate with the registry (e.g. @your-org). Required for scoped packages on GitHub Packages.no
node-versionNode.js version used to run npm install. Defaults to 20.no20
tokenToken used to read the npm registry, the dependency repository (for the changelog), and to open the PR. Typically a PAT with package:read on the registry, repo:read on the dependency repo, and repo:write on the consumer.yes
delete-branchWhether to delete the auto-update branch when the PR is closed/merged. Forwarded to peter-evans/create-pull-request.notrue
auto-mergeEnable GitHub auto-merge on the PR so it merges once required checks pass. Requires "Allow auto-merge" in repo settings and a branch protection rule / required status check to gate on.nofalse
auto-merge-methodMerge method used when auto-merge is enabled: merge, squash, or rebase.nosquash
auto-merge-when-semverRestrict auto-merge to specific semver change types. A comma-separated list of major, minor, patch. When empty (the default), auto-merge applies to every bump without enforcing semver formatting. When set, both the pinned and resolved versions must be valid semver, and the PR only auto-merges if the change matches one of the listed types (prerelease-only bumps count as patch).no""
create-pr-when-semverRestrict PR creation to specific semver change types. A comma-separated list of major, minor, patch. When empty (the default), a PR is opened for every bump. When set, both the pinned and resolved versions must be valid semver, and a PR is only opened if the change matches one of the listed types (prerelease-only bumps count as patch). A bump whose type is excluded is reported via the changed/semver-change outputs but left for manual handling — e.g. keep majors out of the automated flow with create-pr-when-semver: patch, minor.no""
namedescription
changedtrue if the dist-tag points to a newer version than what is pinned in package.json; false otherwise.
currentThe previously-pinned version (the value that was in package.json before the bump).
latestThe version the dist-tag now points to.
semver-changeThe classified bump type: major, minor, or patch. Empty when no semver filter (auto-merge-when-semver / create-pr-when-semver) is set or when there was no change.
should-create-prtrue if a PR should be opened for this bump per create-pr-when-semver; false when the bump type is excluded. Empty when there was no change.
pr-numberThe number of the PR that was created or updated. Empty when no PR was opened.
pr-urlThe URL of the PR that was created or updated. Empty when no PR was opened.
pr-operationThe operation peter-evans performed: created, updated, closed, or none. Empty when no PR was opened.