dont generate output
This commit is contained in:
+2
-2
@@ -19,8 +19,6 @@ export async function commentPr(
|
||||
): Promise<void> {
|
||||
const commentContent = summary.stringify()
|
||||
|
||||
core.setOutput('comment-content', commentContent)
|
||||
|
||||
if (
|
||||
config.comment_summary_in_pr === 'always' ||
|
||||
(config.comment_summary_in_pr === 'on-failure' &&
|
||||
@@ -29,6 +27,8 @@ export async function commentPr(
|
||||
return
|
||||
}
|
||||
|
||||
core.setOutput('comment-content', commentContent)
|
||||
|
||||
if (!github.context.payload.pull_request) {
|
||||
core.warning(
|
||||
'Not in the context of a pull request. Skipping comment creation.'
|
||||
|
||||
Reference in New Issue
Block a user