There was an error while loading. Please reload this page.
1 parent 1b215f9 commit 0b6137aCopy full SHA for 0b6137a
1 file changed
stryker-on-stryker.ps1
@@ -196,11 +196,10 @@ if ($useLocalTool) {
196
}
197
198
$isGitHubActions = ${env:GITHUB_ACTIONS} -eq 'true'
199
-$isScheduledRun = ${env:GITHUB_EVENT_NAME} -eq 'schedule'
200
$dashboardApiKey = ${env:STRYKER_DASHBOARD_API_KEY}
201
Protect-SecretInGitHubActionsLog -Secret $dashboardApiKey
202
203
-$publishToDashboard = $isGitHubActions -and $isScheduledRun -and -not [string]::IsNullOrWhiteSpace($dashboardApiKey)
+$publishToDashboard = $isGitHubActions -and -not [string]::IsNullOrWhiteSpace($dashboardApiKey)
204
if (-not $publishToDashboard -and -not [string]::IsNullOrWhiteSpace($dashboardApiKey)) {
205
Write-Warn 'STRYKER_DASHBOARD_API_KEY is set but dashboard publishing is disabled for this run.'
206
0 commit comments