Skip to content

Commit

Permalink
Update the error message when /reject made in issue
Browse files Browse the repository at this point in the history
  • Loading branch information
manish-singh-bisht authored Apr 15, 2024
1 parent b8fbe85 commit 927579a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github/hooks/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export const onRejectCommented = async (webhooks: Webhooks) => {
owner,
repo,
issue_number: prNumber,
body: `${REJECT_IDENTIFIER} works on a PR.`,
body: `The command ${REJECT_IDENTIFIER} only works in PRs, not on issues. Please use it in a Pull Request.`,
});
return;
}
Expand Down

0 comments on commit 927579a

Please sign in to comment.