PR comments should not be posted by default
This commit is contained in:
+3
-3
@@ -22,9 +22,9 @@ export async function commentPr(
|
|||||||
core.setOutput('comment-content', commentContent)
|
core.setOutput('comment-content', commentContent)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
config.comment_summary_in_pr !== 'always' &&
|
config.comment_summary_in_pr === 'always' ||
|
||||||
config.comment_summary_in_pr === 'on-failure' &&
|
(config.comment_summary_in_pr === 'on-failure' &&
|
||||||
process.exitCode !== core.ExitCode.Failure
|
process.exitCode === core.ExitCode.Failure)
|
||||||
) {
|
) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user