Support semver ranges for prek-version#81
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the action’s documentation and CI/tests to reflect that prek-version is resolved from the bundled version manifest and can accept semver ranges (in addition to exact versions and latest).
Changes:
- Document semver range support for
prek-versionand clarify that thetokeninput is retained only for backward compatibility. - Add unit tests covering manifest-backed version resolution for
latest, exact versions, semver ranges, and invalid/unsatisfied inputs. - Add a CI workflow step that exercises semver range resolution (
0.3.x) end-to-end.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test/shared.test.ts | Adds unit tests + a manifest fixture to validate semver range / latest resolution from the bundled manifest. |
| action.yaml | Updates input descriptions for prek-version (semver ranges) and token (unused/back-compat). |
| README.md | Documents semver range usage and explains the bundled version manifest + refresh workflow. |
| .github/workflows/ci.yaml | Adds CI coverage for a semver range prek-version input. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d3b08c1 to
837410c
Compare
43a91fd to
6281c2d
Compare
837410c to
383dc88
Compare
d10de0c to
202ba74
Compare
202ba74 to
6f5da20
Compare
383dc88 to
b1b44c4
Compare
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
Stack
Depends on #83.