Skip to content

Cut patch releases automatically for dependency updates - #50

Merged
silv-io merged 1 commit into
mainfrom
auto-patch-release
Oct 29, 2026
Merged

silv-io merged 1 commit into
mainfrom
auto-patch-release

Conversation

@silv-io

@silv-io silv-io commented Oct 29, 2026

Copy link
Copy Markdown
Member

Dependency fixes in dist/ only reach @v4 users after a manual release. For example, the undici CVE fixes from #43 are on main, but v4.0.1 still ships the vulnerable undici 6.28.0.

This adds a Patch Release workflow that runs every Monday at 06:00 UTC and can also be started by hand. It releases only if all of these hold:

  • dist/ changed since the latest vX.Y.Z tag
  • src/ and action.yml did not change; feature work still goes through script/release, so it can get the right version
  • every check on the main HEAD passed

When they do, the workflow tags the next patch the same way script/release does (annotated, "vX.Y.Z Release"), moves the major tag (v4), and creates a GitHub release with generated notes.

I ran the check logic against the current main: it would release v4.0.2. After merging, I'll start it once by hand to ship that release.

🤖 Generated with Claude Code

Bundled dependency fixes only reached users when someone remembered to
release. Weekly, release a patch and move the major tag if dist/ changed
since the last release, src/ and action.yml did not, and main is green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@silv-io
silv-io merged commit fb5832e into main Oct 29, 2026
24 checks passed
@silv-io
silv-io deleted the auto-patch-release branch October 29, 2026 14:59
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.

1 participant