From 27cde4e3aaa70a8946168292cbad0aacc507263f Mon Sep 17 00:00:00 2001 From: Vansh Chaurasiya Date: Mon, 7 Oct 2024 21:05:55 +0530 Subject: [PATCH] Autocomment workflow issue fix --- .github/workflows/autocomment-iss-close.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autocomment-iss-close.yml b/.github/workflows/autocomment-iss-close.yml index 6b0da97..d15cf83 100644 --- a/.github/workflows/autocomment-iss-close.yml +++ b/.github/workflows/autocomment-iss-close.yml @@ -19,9 +19,9 @@ jobs: const issueCreator = issue.user.login; const issueNumber = issue.number; - const greetingMessage = `Hello @${issueCreator}! Your issue #${issueNumber} ✅ This issue has been successfully closed. Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! 🚀 + const greetingMessage = `Hello @${issueCreator}! Your issue #${issueNumber} has been successfully closed. ✅ Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! 🚀`; - github.rest.issues.createComment({ + await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: issueNumber,