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