-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[ISSUE-4319][infrastructure] Add boring-cyborg.yml for repository infrastructure #4320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,108 @@ | ||||||||||||||||||
| # Licensed to the Apache Software Foundation (ASF) under one | ||||||||||||||||||
| # or more contributor license agreements. See the NOTICE file | ||||||||||||||||||
| # distributed with this work for additional information | ||||||||||||||||||
| # regarding copyright ownership. The ASF licenses this file | ||||||||||||||||||
| # to you under the Apache License, Version 2.0 (the | ||||||||||||||||||
| # "License"); you may not use this file except in compliance | ||||||||||||||||||
| # with the License. You may obtain a copy of the License at | ||||||||||||||||||
| # | ||||||||||||||||||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||||||||||||||||||
| # | ||||||||||||||||||
| # Unless required by applicable law or agreed to in writing, software | ||||||||||||||||||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||||||||||||||||||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||||||||||||||||
| # See the License for the specific language governing permissions and | ||||||||||||||||||
| # limitations under the License. | ||||||||||||||||||
|
|
||||||||||||||||||
| # This file was completed with reference to the boring-cyborg.yml of https://github.com/apache/flink-connector-jdbc. | ||||||||||||||||||
|
|
||||||||||||||||||
| labelPRBasedOnFilePath: | ||||||||||||||||||
| component=infrastructure: | ||||||||||||||||||
| - .github/**/* | ||||||||||||||||||
| - tools/**/* | ||||||||||||||||||
| - .mvn/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=dist-material: | ||||||||||||||||||
| - dist-material/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=docker: | ||||||||||||||||||
| - docker/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-common: | ||||||||||||||||||
| - streampark-common/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-console-service: | ||||||||||||||||||
| - streampark-console/streampark-console-service/** | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-console-webapp: | ||||||||||||||||||
| - streampark-console/streampark-console-webapp/** | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-e2e: | ||||||||||||||||||
| - streampark-e2e/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-flink: | ||||||||||||||||||
| - streampark-flink/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-shaded: | ||||||||||||||||||
| - streampark-shaded/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| component=streampark-spark: | ||||||||||||||||||
| - streampark-spark/**/* | ||||||||||||||||||
|
|
||||||||||||||||||
| ###### IssueLink Adder ################################################################################################# | ||||||||||||||||||
| # Insert Issue (Jira/Github etc) link in PR description based on the Issue ID in PR title. | ||||||||||||||||||
| insertIssueLinkInPrDescription: | ||||||||||||||||||
| # specify the placeholder for the issue link that should be present in the description | ||||||||||||||||||
| descriptionIssuePlaceholderRegexp: "^Issue link: (.*)$" | ||||||||||||||||||
| matchers: | ||||||||||||||||||
| # you can have several matches - for different types of issues | ||||||||||||||||||
| # only the first matching entry is replaced | ||||||||||||||||||
| jiraIssueMatch: | ||||||||||||||||||
| # specify the regexp of issue id that you can find in the title of the PR | ||||||||||||||||||
| # the match groups can be used to build the issue id (${1}, ${2}, etc.). | ||||||||||||||||||
| 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})" | ||||||||||||||||||
|
Comment on lines
+63
to
+66
|
||||||||||||||||||
| 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})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.