telegram-tt/dev/createPRComment.js
2022-04-19 15:11:48 +02:00

11 lines
241 B
JavaScript

/* eslint-env node */
module.exports = async ({ github, context, body }) => {
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body,
});
};