Skip to content

Commit 0b6137a

Browse files
not only for scheduled runs
1 parent 1b215f9 commit 0b6137a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

stryker-on-stryker.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,10 @@ if ($useLocalTool) {
196196
}
197197

198198
$isGitHubActions = ${env:GITHUB_ACTIONS} -eq 'true'
199-
$isScheduledRun = ${env:GITHUB_EVENT_NAME} -eq 'schedule'
200199
$dashboardApiKey = ${env:STRYKER_DASHBOARD_API_KEY}
201200
Protect-SecretInGitHubActionsLog -Secret $dashboardApiKey
202201

203-
$publishToDashboard = $isGitHubActions -and $isScheduledRun -and -not [string]::IsNullOrWhiteSpace($dashboardApiKey)
202+
$publishToDashboard = $isGitHubActions -and -not [string]::IsNullOrWhiteSpace($dashboardApiKey)
204203
if (-not $publishToDashboard -and -not [string]::IsNullOrWhiteSpace($dashboardApiKey)) {
205204
Write-Warn 'STRYKER_DASHBOARD_API_KEY is set but dashboard publishing is disabled for this run.'
206205
}

0 commit comments

Comments
 (0)