[CI] Fix ci auto assign error (#16171)

* fix ci auto assign error
* labeler and codeowner improvement
This commit is contained in:
xiangzihao 2024-06-18 11:13:03 +08:00 committed by GitHub
parent fc927cea73
commit 469c19be08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 52 additions and 25 deletions

45
.github/CODEOWNERS vendored
View File

@ -16,30 +16,39 @@
# #
/.github/ @SbloodyS /.github/ @SbloodyS
/deploy/ /deploy/ @SbloodyS
/dolphinscheduler-alert/ /dolphinscheduler-alert/ @SbloodyS
/dolphinscheduler-e2e/ @SbloodyS
/dolphinscheduler-api-test/ @SbloodyS
/dolphinscheduler-registry/ @ruanwenjun
/dolphinscheduler-api/ @caishunfeng @SbloodyS /dolphinscheduler-api/ @caishunfeng @SbloodyS
/dolphinscheduler-dao/ @SbloodyS /dolphinscheduler-api-test/ @SbloodyS
/dolphinscheduler-dao/src/main/resources/sql/ @EricGao888 /dolphinscheduler-authentication/ @ruanwenjun
/dolphinscheduler-common/ /dolphinscheduler-bom/ @ruanwenjun
/dolphinscheduler-standalone-server/ /dolphinscheduler-common/ @SbloodyS
/dolphinscheduler-datasource-plugin/ /dolphinscheduler-dao/ @SbloodyS @ruanwenjun
/dolphinscheduler-dist/ /dolphinscheduler-dao-plugin/ @SbloodyS @ruanwenjun
/dolphinscheduler-meter/ @ruanwenjun @EricGao888 /dolphinscheduler-data-quality/ @SbloodyS
/dolphinscheduler-scheduler-plugin/ /dolphinscheduler-datasource-plugin/ @SbloodyS
/dolphinscheduler-dist/ @SbloodyS
/dolphinscheduler-e2e/ @SbloodyS
/dolphinscheduler-extract/ @ruanwenjun
/dolphinscheduler-master/ @caishunfeng @SbloodyS @ruanwenjun /dolphinscheduler-master/ @caishunfeng @SbloodyS @ruanwenjun
/dolphinscheduler-worker/ @caishunfeng @SbloodyS @ruanwenjun /dolphinscheduler-meter/ @ruanwenjun @EricGao888
/dolphinscheduler-microbench/ @SbloodyS @ruanwenjun
/dolphinscheduler-registry/ @ruanwenjun
/dolphinscheduler-scheduler-plugin/ @ruanwenjun
/dolphinscheduler-service/ @caishunfeng /dolphinscheduler-service/ @caishunfeng
/dolphinscheduler-extract/ @ruanwenjun
/dolphinscheduler-spi/ @caishunfeng /dolphinscheduler-spi/ @caishunfeng
/dolphinscheduler-standalone-server/ @SbloodyS
/dolphinscheduler-storage-plugin/ @ruanwenjun @SbloodyS
/dolphinscheduler-task-plugin/ @caishunfeng @SbloodyS @zhuangchong /dolphinscheduler-task-plugin/ @caishunfeng @SbloodyS @zhuangchong
/dolphinscheduler-tools/ @caishunfeng @SbloodyS @EricGao888 /dolphinscheduler-tools/ @caishunfeng @SbloodyS @EricGao888
/script/ @SbloodyS @EricGao888
/dolphinscheduler-ui/ @songjianet @Amy0104 /dolphinscheduler-ui/ @songjianet @Amy0104
/docs/ @EricGao888 /dolphinscheduler-worker/ @caishunfeng @SbloodyS @ruanwenjun
/dolphinscheduler-yarn-aop/ @ruanwenjun
/dolphinscheduler-dao/src/main/resources/sql/ @EricGao888
/script/ @SbloodyS @EricGao888
/docs/ @EricGao888 @SbloodyS
/licenses/ @EricGao888 /licenses/ @EricGao888
/images/ @EricGao888 /images/ @EricGao888
/style/ /style/ @SbloodyS @EricGao888

View File

@ -18,37 +18,54 @@
backend: backend:
- 'dolphinscheduler-alert/**/*' - 'dolphinscheduler-alert/**/*'
- 'dolphinscheduler-api/**/*' - 'dolphinscheduler-api/**/*'
- 'dolphinscheduler-authentication/**/*'
- 'dolphinscheduler-bom/**/*'
- 'dolphinscheduler-common/**/*' - 'dolphinscheduler-common/**/*'
- 'dolphinscheduler-dao/**/*' - 'dolphinscheduler-dao/**/*'
- 'dolphinscheduler-dao-plugin/**/*'
- 'dolphinscheduler-data-quality/**/*' - 'dolphinscheduler-data-quality/**/*'
- 'dolphinscheduler-datasource-plugin/**/*' - 'dolphinscheduler-datasource-plugin/**/*'
- 'dolphinscheduler-dist/**/*' - 'dolphinscheduler-dist/**/*'
- 'dolphinscheduler-master/**/*'
- 'dolphinscheduler-registry/**/*'
- 'dolphinscheduler-extract/**/*' - 'dolphinscheduler-extract/**/*'
- 'dolphinscheduler-master/**/*'
- 'dolphinscheduler-meter/**/*'
- 'dolphinscheduler-microbench/**/*'
- 'dolphinscheduler-registry/**/*'
- 'dolphinscheduler-scheduler-plugin/**/*' - 'dolphinscheduler-scheduler-plugin/**/*'
- 'dolphinscheduler-service/**/*' - 'dolphinscheduler-service/**/*'
- 'dolphinscheduler-spi/**/*' - 'dolphinscheduler-spi/**/*'
- 'dolphinscheduler-standalone-server/**/*' - 'dolphinscheduler-standalone-server/**/*'
- 'dolphinscheduler-storage-plugin/**/*'
- 'dolphinscheduler-task-plugin/**/*' - 'dolphinscheduler-task-plugin/**/*'
- 'dolphinscheduler-tools/**/*' - 'dolphinscheduler-tools/**/*'
- 'dolphinscheduler-worker/**/*' - 'dolphinscheduler-worker/**/*'
- 'dolphinscheduler-yarn-aop/**/*'
- 'script/**/*' - 'script/**/*'
- '.github/workflows/backend.yml'
document: document:
- 'docs/**/*' - 'docs/**/*'
- '**/*.md'
CI&CD: CI&CD:
- any: ['.github/**/*'] - any: ['.github/**/*']
docker: docker:
- any: ['.deploy/**/*'] - any: ['deploy/docker/**/*']
UI: UI:
- any: ['dolphinscheduler-ui/**/*'] - any: ['dolphinscheduler-ui/**/*']
- any: ['.github/workflows/frontend.yml']
e2e: e2e:
- any: ['dolphinscheduler-e2e/**/*'] - any: ['dolphinscheduler-e2e/**/*']
- any: ['dolphinscheduler-api-test/**/*']
- any: ['.github/workflows/e2e.yml']
- any: ['.github/workflows/api-test.yml']
- any: ['.github/workflows/e2e-k8s.yml']
test: test:
- any: ['dolphinscheduler-api-test/**/*'] - any: ['**/test/**/*']
kubernetes:
- any: ['deploy/kubernetes/**/*']

View File

@ -14,6 +14,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Details: https://github.com/apps/boring-cyborg
###### IssueLink Adder ################################################################################################# ###### IssueLink Adder #################################################################################################
# Insert Issue (Jira/Github etc) link in PR description based on the Issue ID in PR title. # Insert Issue (Jira/Github etc) link in PR description based on the Issue ID in PR title.
@ -37,7 +38,7 @@ verifyTitles:
# Regular expression that should be matched by titles of commits or PR # Regular expression that should be matched by titles of commits or PR
titleRegexp: ^\[Feature-[0-9]+\].*$|^\[Fix-[0-9]+\].*$|^\[Doc-[0-9]+\].*$|^\[Improvement-[0-9]+\].*$|^\[Test-[0-9]+\].*$|^\[E2E-[0-9]+\].*$|^\[CI].*$|^\[Chore].*$ titleRegexp: ^\[Feature-[0-9]+\].*$|^\[Fix-[0-9]+\].*$|^\[Doc-[0-9]+\].*$|^\[Improvement-[0-9]+\].*$|^\[Test-[0-9]+\].*$|^\[E2E-[0-9]+\].*$|^\[CI].*$|^\[Chore].*$
# If set to true, it will always check the PR title (as opposed to the individual commits). # If set to true, it will always check the PR title (as opposed to the individual commits).
alwaysUsePrTitle: false alwaysUsePrTitle: true
# If set to true, it will only check the commit in case there is a single commit. # If set to true, it will only check the commit in case there is a single commit.
# In case of multiple commits it will check PR title. # In case of multiple commits it will check PR title.
# This reflects the standard behaviour of Github that for `Squash & Merge` GitHub # This reflects the standard behaviour of Github that for `Squash & Merge` GitHub
@ -49,7 +50,7 @@ verifyTitles:
# The title the GitHub status should appear from. # The title the GitHub status should appear from.
statusTitle: "Title Validator" statusTitle: "Title Validator"
# A custom message to be displayed when the title passes validation. # A custom message to be displayed when the title passes validation.
successMessage: "Validation successful!" successMessage: "Title Validation successful!"
# A custom message to be displayed when the title fails validation. # A custom message to be displayed when the title fails validation.
# Allows insertion of ${type} (commit/PR), ${title} (the title validated) and ${regex} (the titleRegexp above). # Allows insertion of ${type} (commit/PR), ${title} (the title validated) and ${regex} (the titleRegexp above).
failureMessage: "Wrong ${type} title: ${title}" failureMessage: "Wrong ${type} title: ${title}"

View File

@ -42,6 +42,6 @@ jobs:
sync-labels: true sync-labels: true
- name: "Auto assign in pull request" - name: "Auto assign in pull request"
uses: kentaro-m/auto-assign-action@v2.0.0 uses: ./.github/actions/auto-assign-action
with: with:
configuration-path: .github/actions/auto-assign/auto-assign.yml configuration-path: .github/actions/auto-assign/auto-assign.yml