Skip to content

Commit

Permalink
Update pr_greet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vansh-sardana committed Jun 21, 2024
1 parent a779b42 commit 5f4e520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_greet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- name: Comment on PR
uses: actions/github-script@v4
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo, number } = context.issue;
const commentAuthor = context.payload.sender.login;
const commentBody = `Thank you @${commentAuthor} ,for creating the PR and contributing to our ScrapQuest 💗 \n Review team will review the PR and will reach out to you soon! 😇 \n Make sure that you have marked all the tasks that you are done with ✅. \n Thank you for your patience! 😀
`;
await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
console.log(`Commented on the PR: ${commentBody}.`);
console.log(`Commented on the PR: ${commentBody}.`);

0 comments on commit 5f4e520

Please sign in to comment.