kou commented on code in PR #35811:
URL: https://github.com/apache/arrow/pull/35811#discussion_r1209544729
##########
.github/workflows/dev_pr/link.js:
##########
@@ -83,22 +83,16 @@ async function commentGitHubURL(github, context,
pullRequestNumber, issueID) {
// Make the call to ensure issue exists before adding comment
const issueInfo = await helpers.getGitHubInfo(github, context, issueID,
pullRequestNumber);
const message = "* Closes: #" + issueInfo.number
- if (await haveComment(github, context, pullRequestNumber, message)) {
- return;
- }
if (issueInfo){
+ if (context.payload.pull_request.body.includes(message)){
Review Comment:
```suggestion
if (issueInfo) {
if (context.payload.pull_request.body.includes(message)) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]