From 1192720ddc1f5bfad8054b07a5f535184afa45be Mon Sep 17 00:00:00 2001 From: Jay Chung Date: Fri, 2 Dec 2022 17:54:00 +0800 Subject: [PATCH] [ci] Update skywalking-eye and fix block CI (#13076) --- .github/actions/sanity-check/action.yml | 2 +- .licenserc.yaml | 2 ++ .../dolphinscheduler/api/service/impl/ProjectServiceImpl.java | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/sanity-check/action.yml b/.github/actions/sanity-check/action.yml index c9ffa8be58..f7b1287f13 100644 --- a/.github/actions/sanity-check/action.yml +++ b/.github/actions/sanity-check/action.yml @@ -32,7 +32,7 @@ runs: using: "composite" steps: - name: Check License Header - uses: apache/skywalking-eyes@30367d8286e324d5efc58de4c70c37ea3648306d + uses: apache/skywalking-eyes/header@main - shell: bash run: ./mvnw spotless:check diff --git a/.licenserc.yaml b/.licenserc.yaml index b85b47f14b..cd2117e975 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -47,5 +47,7 @@ header: - '.github/actions/translate-on-issue/**' - '**/.gitkeep' - 'org.mockito.plugins.MockMaker' + - tools/dependencies/known-dependencies.txt + - '**/banner.txt' comment: on-failure diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java index 48f8a24a0b..7450679a72 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java @@ -17,7 +17,9 @@ package org.apache.dolphinscheduler.api.service.impl; -import static org.apache.dolphinscheduler.api.constants.ApiFuncIdentificationConstant.*; +import static org.apache.dolphinscheduler.api.constants.ApiFuncIdentificationConstant.PROJECT; +import static org.apache.dolphinscheduler.api.constants.ApiFuncIdentificationConstant.PROJECT_CREATE; +import static org.apache.dolphinscheduler.api.constants.ApiFuncIdentificationConstant.PROJECT_DELETE; import org.apache.dolphinscheduler.api.enums.Status; import org.apache.dolphinscheduler.api.exceptions.ServiceException;