Skip to content

Commit

Permalink
precommit and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Jan 24, 2025
1 parent aebff0d commit 6222970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $ghEnvironments = @(GetGitHubEnvironments)

Write-Host "Reading environments from settings"
$settings.excludeEnvironments += @('github-pages')
if ($settings.updateALGoSystemFilesEnvironment) {
if ($settings.Keys -contains 'UpdateALGoSystemFilesEnvironment' -and $settings.updateALGoSystemFilesEnvironment) {
$settings.excludeEnvironments += @($settings.updateALGoSystemFilesEnvironment)
}
$environments = @($ghEnvironments | ForEach-Object { $_.name }) + @($settings.environments) | Select-Object -unique | Where-Object { $settings.excludeEnvironments -notcontains $_.Split(' ')[0] -and $_.Split(' ')[0] -like $getEnvironments }
Expand Down
2 changes: 1 addition & 1 deletion Actions/Github-AuthHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ function GenerateJwtForTokenRequest {
return "$header.$payload.$signature"
}

Export-ModuleMember -Function GetGitHubAppAuthToken, GenerateJwtForTokenRequest
Export-ModuleMember -Function GetGitHubAppAuthToken, GenerateJwtForTokenRequest

0 comments on commit 6222970

Please sign in to comment.