mirror of
https://github.com/danog/psalm.git
synced 2024-12-06 05:29:00 +01:00
Don’t exit with 1 when running security analysis in GitHub Actions and generating a file
This commit is contained in:
parent
1708bae984
commit
6e39c24a17
@ -680,7 +680,11 @@ class IssueBuffer
|
||||
}
|
||||
}
|
||||
|
||||
if ($error_count) {
|
||||
if ($error_count
|
||||
&& !($codebase->taint_flow_graph
|
||||
&& $project_analyzer->generated_report_options
|
||||
&& isset($_SERVER['GITHUB_WORKFLOW']))
|
||||
) {
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user