🌟 [Major]: Separate Pester and GitHub version and prerelease inputs#32
Open
dependabot[bot] wants to merge 2 commits into
Open
🌟 [Major]: Separate Pester and GitHub version and prerelease inputs#32dependabot[bot] wants to merge 2 commits into
dependabot[bot] wants to merge 2 commits into
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Invoke-Pester v5.0.0 repurposed the Version and Prerelease inputs to select the Pester module version and renamed the GitHub bootstrap-module controls to GitHubVersion and GitHubPrerelease. Remap the action's Version and Prerelease inputs (which select the GitHub module) to GitHubVersion and GitHubPrerelease to preserve their documented behavior.
6d7ca22 to
49e6aae
Compare
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 9, 2026 23:02
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Updates this repository’s composite GitHub Action to use the newer PSModule/Invoke-Pester action (v5.1.0) while preserving the documented behavior of this action’s public Version and Prerelease inputs (i.e., still selecting the GitHub bootstrap module version, not the Pester module version).
Changes:
- Bumped the pinned
PSModule/Invoke-Pesteraction reference from v4.2.4 to v5.1.0 (by commit SHA). - Remapped this action’s
Version/Prereleaseinputs toInvoke-Pester’sGitHubVersion/GitHubPrereleaseinputs to avoid the v5 breaking-change semantics shift.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add PesterVersion/PesterPrerelease and rename Version/Prerelease to GitHubVersion/GitHubPrerelease so Pester and GitHub module versions can be controlled independently and trickle down to the Invoke-Pester and GitHub-Script steps.
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.
Bumps
PSModule/Invoke-Pesterfrom 4.2.4 to 5.1.0 and reworks the action's version inputs so callers can control the Pester module and the GitHub module independently. Versions and prereleases now trickle down to the right place: Pester settings flow to theInvoke-Pesterstep, and GitHub-module settings flow to both theGitHub-Scriptstep and theInvoke-Pesterinit bootstrap.New:
PesterVersionandPesterPrereleaseControl the version (and prerelease opt-in) of the Pester module used to run the analyzer tests, using NuGet version-range syntax (for example
[6.0.0,7.0.0)). When empty, the latest available version is installed.Changed:
Version/Prereleaseare nowGitHubVersion/GitHubPrereleaseThe inputs that control the GitHub module version are renamed to make their scope explicit. They flow to both the
GitHub-Scriptstep and theInvoke-Pesterinit bootstrap.Breaking Changes
The
VersionandPrereleaseinputs are removed. Callers that pinned the GitHub module must switch toGitHubVersion/GitHubPrerelease. To pin Pester, use the newPesterVersion/PesterPrereleaseinputs.Before:
After:
Technical Details
action.yml: replaced theVersion/Prereleaseinputs withPesterVersion,PesterPrerelease,GitHubVersion,GitHubPrerelease.Invoke-Pesterstep bumped to v5.1.0 (SHA4ff33199141fdf22568990b6107fe3148ae93a1c): itsVersion/Prerelease(Pester module) ←PesterVersion/PesterPrerelease; itsGitHubVersion/GitHubPrerelease(GitHub bootstrap) ←GitHubVersion/GitHubPrerelease.Get-TestPaths(GitHub-Script) step:Version/Prerelease←GitHubVersion/GitHubPrerelease.Version/Prereleasecontrol the Pester module andGitHubVersion/GitHubPrereleasecontrol the GitHub bootstrap module — this is the reason the interface split is needed.README.md: inputs table updated to document the four inputs.