You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const comment = `Hello @${author}! \n Thank you for raising this issue. \nPlease make sure to follow our [Contributing Guidelines.](https://github.com/devs-in-tech/DevsInTech/blob/main/CONTRIBUTING.md) \nDon't forget to ⭐ our [DevsInTech](https://github.com/devs-in-tech/DevsInTech)\n\nOur review team will carefully assess the issue and reach out to you soon!\n We appreciate your patience!`;
27
+
28
+
const { owner, repo } = context.repo;
29
+
30
+
await github.issues.createComment({
31
+
owner: owner,
32
+
repo: repo,
33
+
issue_number: issueNumber,
34
+
body: comment
35
+
});
36
+
37
+
console.log(`Comment added to the Issue #${issueNumber}.`);
const comment = `Hey @${openerName} , You can't have another issue before completing the previous one 😀 \n you already have the following ${previousOpenIssues.length} open issues 👀 ! :\n\n${previousOpenIssueNumbers.join('\n')}`;
36
+
core.exportVariable('comment_body', comment); // Export the variable
0 commit comments