Skip to content

Commit

Permalink
change event from APPROVE to COMMENT
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed Jun 18, 2024
1 parent 0a467cc commit 27f2765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/build-ctest-review.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
});
}

0 comments on commit 27f2765

Please sign in to comment.