Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions pkg/workflow/notify_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,11 @@ func buildSafeOutputJobsEnvVars(jobNames []string) (string, []string) {
case "push_to_pull_request_branch":
urlKey = "commit_url"
default:
if systemSafeOutputJobNames[jobName] {
// Skip known system jobs — they are not custom safe output types
continue
if !systemSafeOutputJobNames[jobName] {
// Custom safe-output job: include in the mapping with an empty URL key so the
// handler manager can silently skip messages of this type.
jobOutputMapping[jobName] = ""
}
// Custom safe-output job: include in the mapping with an empty URL key so the
// handler manager can silently skip messages of this type.
jobOutputMapping[jobName] = ""
continue
}

Expand Down