From 27f2765125c22fb585b524c02a8751859ddc79d4 Mon Sep 17 00:00:00 2001 From: Piotr Macha Date: Tue, 18 Jun 2024 11:40:13 +0200 Subject: [PATCH] change event from APPROVE to COMMENT --- .github/scripts/build-ctest-review.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/build-ctest-review.js b/.github/scripts/build-ctest-review.js index 5d8907a..9065629 100644 --- a/.github/scripts/build-ctest-review.js +++ b/.github/scripts/build-ctest-review.js @@ -23,6 +23,6 @@ module.exports = async ({github, context, pull_number, status, log}) => { owner: context.repo.owner, repo: context.repo.repo, body: (status === 'success' ? '😍 Tests passed!' : '😨 Tests failed!') + '\n\n```\n' + log.replaceAll('%%%', "\n") + '\n```', - event: (status === 'success' ? 'APPROVE' : 'REQUEST_CHANGES') + event: (status === 'success' ? 'COMMENT' : 'REQUEST_CHANGES') }); } \ No newline at end of file