ci: skip release on docs-only changes#393
Open
Taure wants to merge 2 commits into
Open
Conversation
The custom release workflow patch-bumps on any push to master (a docs: commit falls through to the default-patch fallback). Add paths-ignore so docs-only merges (**/*.md, docs/**, LICENSE, .gitignore) do not run the release job and therefore do not bump the version. Code changes still tag as before.
Make it explicit that AGENTS.md, CLAUDE.md, and a repo-level .claude/ config dir do not bump the version (the first two are already covered by **/*.md; listed explicitly for clarity).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The custom
release.ymltriggers on every push tomasterand, because adocs:commit doesn't match feat/fix/breaking, falls through to the "default to patch if any commits exist" fallback - so a docs-only merge still cuts a patch release.This adds
paths-ignoreto the release trigger so a merge touching only**/*.md,docs/**,LICENSE, or.gitignoredoes not run the release job and therefore does not bump the version. Any merge that also touches code still tags as before.Matches the docs-skip convention already used elsewhere in the fleet.