rok commented on code in PR #55484:
URL: https://github.com/apache/arrow/pull/55484#discussion_r4630059265


##########
.github/boring-cyborg.yml:
##########
@@ -59,16 +59,20 @@ labelPRBasedOnFilePath:
     - "**/*.Rd"
 
 verifyTitles:
-  titleRegexp: '^(WIP:?\s*)?GH-[0-9]+|^MINOR: '
+  titleRegexp: '^GH-[0-9]+|^MINOR: '
   alwaysUsePrTitle: true
   validateEitherPrOrSingleCommitTitle: false
   statusTitle: "PR Title"
   successMessage: "PR title format is valid"
   failureMessage: "Title must start with 'GH-<issue>: [Component]' or 'MINOR: 
[Component]'"
 
 insertIssueLinkInPrDescription:
-  descriptionIssuePlaceholderRegexp: '^\* GitHub Issue: (.*)$'
+  descriptionIssuePlaceholderRegexp: '^\* GitHub Issue: (?!Refs )(.*)$'
   matchers:
+    closedIssue:
+      targetBranchFilter: '^main$'
+      titleIssueIdRegexp: '^GH-([0-9]+)'
+      descriptionIssueLink: 'Closes #${1}'

Review Comment:
   Makes sense!



-- 
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]

Reply via email to