We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2593e3f commit 0fbc95eCopy full SHA for 0fbc95e
hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1
@@ -249,8 +249,8 @@ function Add-GitHubActionsSecretMask {
249
Write-GitHubActionsCommand -Command 'add-mask' -Message $Value
250
}
251
if ($WithChunks) {
252
- [string[]]($Value -split '[\n\r\s\t]+') | ForEach-Object -Process {
253
- if ($_ -ne $Value -and $_.Length -ge 2) {
+ [string[]]($Value -split '[\b\n\r\s\t_-]+') | ForEach-Object -Process {
+ if ($_ -ne $Value -and $_.Length -gt 2) {
254
Write-GitHubActionsCommand -Command 'add-mask' -Message $_
255
256
0 commit comments