🩹 [Patch]: Bump Invoke-ScriptAnalyzer to v5.0.0 and Test-PSModule to v3.0.14#380
Merged
Marius Storhaug (MariusStorhaug) merged 2 commits intoJul 11, 2026
Merged
Conversation
Invoke-ScriptAnalyzer v5.0.0 repurposed the Version and Prerelease inputs to select the PSScriptAnalyzer module version and moved the GitHub bootstrap-module controls to GitHubVersion and GitHubPrerelease. Remap the Lint-SourceCode and Lint-Module steps' Version/Prerelease (which carry Settings.Version/Prerelease, i.e. the GitHub module version) to GitHubVersion/GitHubPrerelease to preserve behavior. PSScriptAnalyzer version is left at the v5 default (latest).
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 11, 2026 14:06
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the reusable linting workflows to use PSModule/Invoke-ScriptAnalyzer v5.0.0 while keeping the existing inputs.Settings.Version / inputs.Settings.Prerelease behavior for consumers by remapping those settings to the action’s new GitHubVersion / GitHubPrerelease inputs.
Changes:
- Bumped
PSModule/Invoke-ScriptAnalyzerfrom v4.1.3 to v5.0.0 (pinned by commit SHA) in both lint workflows. - Remapped workflow settings from
Version/Prerelease→GitHubVersion/GitHubPrereleaseto preserve the reusable workflow contract.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/Test-Module.yml | Upgrades Invoke-ScriptAnalyzer to v5.0.0 and remaps inputs to keep Settings-driven GitHub module selection. |
| .github/workflows/Lint-SourceCode.yml | Upgrades Invoke-ScriptAnalyzer to v5.0.0 and remaps inputs to keep Settings-driven GitHub module selection. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
Patch bump; v3.0.14 preserves Test-PSModule's Version/Prerelease (GitHub module) contract, so no input remap is needed. Pure SHA update in the Test-SourceCode and Test-Module steps.
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 11, 2026 14:32
View session
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.
Brings Process-PSModule's lint/test action dependencies to their latest releases:
PSModule/Invoke-ScriptAnalyzerv4.1.3 → v5.0.0 andPSModule/Test-PSModulev3.0.13 → v3.0.14. Both preserve the reusable workflow'sSettings.Version/Settings.Prereleasecontract for consumers.Changed: Invoke-ScriptAnalyzer upgraded to v5.0.0
Invoke-ScriptAnalyzer v5.0.0 is a major release that repurposed its
Version/Prereleaseinputs to select the PSScriptAnalyzer module version and moved the GitHub bootstrap-module controls toGitHubVersion/GitHubPrerelease.The
Lint-SourceCodeandLint-Modulesteps passSettings.Version/Settings.Prerelease, which in this ecosystem select the GitHub module (the same values feed the Invoke-Pester and GitHub-Script steps). They are now wired to Invoke-ScriptAnalyzer'sGitHubVersion/GitHubPrerelease, so those settings keep controlling the GitHub module exactly as before. No change to theSettingscontract.With v5, the action also installs PSScriptAnalyzer itself (latest, since its
Versionis left unset) instead of relying on the runner's preinstalled copy — so consumer linting now runs against the latest PSScriptAnalyzer.Changed: Test-PSModule upgraded to v3.0.14
Patch release; Test-PSModule v3.0.14 (which internally bumped Invoke-Pester to v5.1.0) preserves its own
Version/Prerelease(GitHub module) contract, so theTest-SourceCodeandTest-Modulesteps need only a SHA update — no input remap.Technical Details
Lint-SourceCode.yml,Test-Module.yml:Invoke-ScriptAnalyzer6aeb1bc(v4.1.3) →4d633e4(v5.0.0); remappedVersion→GitHubVersion,Prerelease→GitHubPrerelease.Test-Module.yml,Test-SourceCode.yml:Test-PSModule25c9cd8(v3.0.13) →902c5e5(v3.0.14).Settingskey.Test-ModuleLocal.yml, still v4.2.6) is intentionally untouched.Settingscontract is preserved (hencePatch), but consumer linting now runs against the latest PSScriptAnalyzer — bump toMinorif you'd rather signal that behavior change.Release notes: Invoke-ScriptAnalyzer v5.0.0