Justin Grote

Results 875 comments of Justin Grote

Realistically people are going to use Test-SecretVault as part of automatic provisioning scripts since the decision was made that Register-SecretVault won't validate by default, so knowing what line it occurs...

@itfranck The vaultname gets passed to the `$VaultName` parameter for all commands. What I'd recommend instead of a COnnect-LastPass running separately is to at the beginning of all of your...

This should be updated to use the tool-cache package https://github.com/actions/toolkit/tree/main/packages/tool-cache

@GGG-KILLER you're right, my bad. https://github.com/actions/toolkit/pull/358/files I suppose it could be a composite action and integrate the actions/cache action but maybe that should be left up to the consumer instead.

I'm not up on my news, v2 of the cache action has a cache npm package, so this could be directly used without needing to make a composite action: https://github.com/actions/toolkit/tree/main/packages/cache

It's still kind of unstable so as long as it's clear it's still in preview I'm OK with it.

Likely an issue in [scriptanalyzer](https://github.com/PowerShell/PSScriptAnalyzer), we can see if we can reproduce and an issue would need to be opened there. As a workaround, have you considered using [splatting syntax](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.4)...

@BalassaMarton even in that case I would strongly recommend splatting as you can have conditional parameters, and overall make the invocation much more structured than using backticks with parameters. Looks...

@andyleejordan I can reproduce this on a clean Win11 box, though it's just silently failing for me with allsigned on even with all the verbosity turned on. The signing cert...