Skip version-bump check for documentation-only PRs#969
Merged
Conversation
A documentation-only dev->main PR (e.g. a CHANGELOG correction) does not bump the version, so check-version-bump failed and required an admin override to merge. The workflow now detects whether any non-*.md file changed via dorny/paths-filter and only runs the version comparison when it did. Documentation-only PRs hit a "Skip notice" step instead, so the job still completes and the required check reports success rather than being skipped (which would leave it stuck pending). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…or-doc-only-prs Skip version-bump check for documentation-only PRs
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.
Summary
Carries #968 to main. Documentation-only
dev → mainPRs no longer failcheck-version-bump— the version comparison is gated on whether any non-*.mdfile changed (viadorny/paths-filter). Code PRs are unaffected.Bootstrap note
This PR itself changes a workflow file (not a doc), with no version bump, so
check-versionwill fail one last time. Requires an admin merge. Every doc-only PR after this is clean.🤖 Generated with Claude Code