Uh oh!
There was an error while loading. Please reload this page.
Install PSScriptAnalyzer directly instead of via psmodulecache - #3035
Closed
nohwnd wants to merge 1 commit into
Closed
Install PSScriptAnalyzer directly instead of via psmodulecache#3035nohwnd wants to merge 1 commit into
nohwnd wants to merge 1 commit into
Conversation
Same change as #3034 on main. sha_pinning_required applies to actions referenced inside composite actions, and potatoqualitee/psmodulecache does not pin its own actions/cache reference (v6.2.1 uses @v4.2.0, v6.3 uses @v5.0.5), so the job fails at "Set up job" while we depend on it. This branch triggers on rel/*, so it runs and would break the same way main did. 🤖
nohwnd
marked this pull request as draft
September 5, 2026 09:53
nohwnd
commented
Sep 5, 2026
MemberAuthor
Parking this as a draft. The reason enforcement and psmodulecache cannot coexist is in the description above, and the upstream fix is potatoqualitee/psmodulecache#68. 🤖 |
nohwnd
commented
Sep 5, 2026
MemberAuthor
Closing in favour of #3036, where the reasoning and the options are written up. Removing the module cache is only one of four ways to handle this, and it is not obviously the right one until we know what the cache was solving. The policy is off, so nothing is blocked. 🤖 |
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 freeto 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.
Same change as #3034 on main.
sha_pinning_requiredapplies to actions referenced inside composite actions.potatoqualitee/psmodulecachedoes not pin its ownactions/cachereference - v6.2.1 uses@v4.2.0, v6.3 uses@v5.0.5- so the job fails at Set up job before running anything.This branch matters because its workflows trigger on
rel/*, so they actually run and would break exactly the way main did. rel/6.0.x has the same line but its code-analysis only triggers onmain, so it never fires there.The step only installed PSScriptAnalyzer and ConvertToSARIF, which take seconds from PSGallery.
Upstream fix sent as potatoqualitee/psmodulecache#68, but we should not depend on it landing.
🤖