Skip to content

Commit

Permalink
Update pr-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushg-07 authored Jun 5, 2024
1 parent 136cfb1 commit 3f407f2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo } = context.repo;
const number = context.issue.number;
const number = context.payload.pull_request.number;
const body = "🎉 Your pull request has been successfully merged! 🎉 Thank you for your contribution to our project. Your efforts are greatly appreciated. Keep up the fantastic work! 🚀";
github.issues.createComment({ owner, repo, issue_number: number, body });
await github.rest.issues.createComment({
owner: owner,
repo: repo,
issue_number: number,
body: body
});

0 comments on commit 3f407f2

Please sign in to comment.