[ISSUE-4319][infrastructure] Add boring-cyborg.yml for repository infrastructure#4320
[ISSUE-4319][infrastructure] Add boring-cyborg.yml for repository infrastructure#4320RocMarshal merged 2 commits intoapache:devfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds a boring-cyborg.yml configuration file to automate repository infrastructure tasks such as PR labeling, title validation, issue linking, and first-time contributor messages.
Changes:
- Added boring-cyborg.yml configuration file with PR labeling rules, title validation, issue link insertion, and welcome messages for new contributors
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - streampark-console/streampark-console-service/** | ||
|
|
||
| component=streampark-console-webapp: | ||
| - streampark-console/streampark-console-webapp/** |
There was a problem hiding this comment.
The path pattern is inconsistent with other entries. Lines 35 and 38 use /** (two asterisks) without the trailing /*, while all other component paths use /**/* (two asterisks followed by slash and one asterisk). For consistency, these should also use /**/* pattern.
| - streampark-console/streampark-console-service/** | |
| component=streampark-console-webapp: | |
| - streampark-console/streampark-console-webapp/** | |
| - streampark-console/streampark-console-service/**/* | |
| component=streampark-console-webapp: | |
| - streampark-console/streampark-console-webapp/**/* |
| titleIssueIdRegexp: \[(ISSUE-[0-9]+)\] | ||
| # the issue link to be added. ${1}, ${2} ... are replaced with the match groups from the | ||
| # title match (remember to use quotes) | ||
| descriptionIssueLink: "[${1}](https://github.com/apache/streampark/issues/${1})" |
There was a problem hiding this comment.
The issue link URL may be incorrect. The pattern captures "ISSUE-[0-9]+" (e.g., "ISSUE-4319") and uses it directly in the GitHub issues URL. However, GitHub issue URLs typically use just the numeric ID (e.g., "/issues/4319" not "/issues/ISSUE-4319"). The captured group should extract only the numeric part, or the URL pattern should strip the "ISSUE-" prefix.
| titleIssueIdRegexp: \[(ISSUE-[0-9]+)\] | |
| # the issue link to be added. ${1}, ${2} ... are replaced with the match groups from the | |
| # title match (remember to use quotes) | |
| descriptionIssueLink: "[${1}](https://github.com/apache/streampark/issues/${1})" | |
| titleIssueIdRegexp: \[ISSUE-([0-9]+)\] | |
| # the issue link to be added. ${1}, ${2} ... are replaced with the match groups from the | |
| # title match (remember to use quotes) | |
| descriptionIssueLink: "[ISSUE-${1}](https://github.com/apache/streampark/issues/${1})" |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|



What changes were proposed in this pull request
Issue Number: close #4319
Brief change log
Add boring-cyborg.yml for pull-request infra
Verifying this change
N.A
Does this pull request potentially affect one of the following parts