Skip to content

Commit

Permalink
Update issue-comment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MohanRamSridhar authored May 24, 2024
1 parent a08090c commit dd88e74
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/issue-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const {owner, repo, number} = context.issue;
const commentAuthor = context.payload.sender.login;
const issueNumber = context.issue.number;
const commentBody = `Thank you for creating a new issue! 🎉 Your issue is currently under review. If you would like to assign this issue to yourself, please comment with the word **"self"** and the issue will be assigned to you.`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
owner,
repo,
issue_number : number,
body: commentBody
});

0 comments on commit dd88e74

Please sign in to comment.