github jefflinse/pr-semver-bump v1.8.0

latest releases: v1.8.1, v1
2 hours ago

Four distinct groups of improvements:

Cleanup & modernization

  • Fix package.json repository/bugs/homepage boilerplate (was pointing at the actions/javascript-action template)
  • Bump Node 16 → 20 (.nvmrc, .tool-versions) to match the action.yml runtime
  • Bump actions/checkout → v4 and github/codeql-action → v3 across all workflows
  • README: floating @v1 references, new "Pinning a Version" section
  • Fix error-message typo + rebuild dist/

Reliability bug fixes

  • Paginate tag listing so repos with >100 tags work (#26)
  • Clearer contents: write permission errors on 403/404 (#42, #45)
  • searchPRByCommit uses listPullRequestsAssociatedWithCommit first (better for rebase merges) with search-API fallback; returns null instead of throwing
  • Graceful no-op on fresh-repo / no-PR-found (#27)
  • "No release label" error now lists the configured labels (#49)

Process & CI hardening

  • New dist-check.yml: fails PRs whose dist/ drifted from source
  • master-ci.yml: explicit permissions:, auto-create GitHub Release and advance the floating major tag (e.g. v1)
  • Skip the validate job for dependabot[bot]
  • New CONTRIBUTING.md and SECURITY.md

New features

  • New inputs dry-run and create-release (both default false)
  • New outputs major / minor / patch (#11), release-url, and a bump-summary JSON aggregate
  • createRelease optionally creates a GitHub Release (#12)

Phase 5 — dependency security (85c4bdb, 296faff, 752a8c4)

Resolves all open Dependabot/npm audit findings (npm audit reports 0 vulnerabilities).

Runtime (ships in dist/):

  • undici pinned to ^6.29.1 via npm overrides; @actions/core → ^1.11.1, which drops its uuid dependency. @actions/core 3.x / @actions/github 9.x were not adopted: they are ESM-only and this action is CommonJS, so require() would break at runtime. Verified undici.ProxyAgent and that the rebuilt dist/ bundle loads under require().

Dev-only (eslint/jest toolchain, never bundled):

  • Remaining toolchain advisories (minimatch, flatted, picomatch, semver, @babel/core, brace-expansion, browserslist, fast-uri, js-yaml) resolved via npm audit fix within existing semver ranges (lockfile-only).

Don't miss a new pr-semver-bump release

NewReleases is sending notifications on new releases.