Browse Source

[ci] Update skywalking-eye and fix block CI (#13076)

3.2.0-release
Jay Chung 2 years ago committed by GitHub
parent
commit
1192720ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/actions/sanity-check/action.yml
  2. 2
      .licenserc.yaml
  3. 4
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java

2
.github/actions/sanity-check/action.yml

@ -32,7 +32,7 @@ runs:
using: "composite" using: "composite"
steps: steps:
- name: Check License Header - name: Check License Header
uses: apache/skywalking-eyes@30367d8286e324d5efc58de4c70c37ea3648306d uses: apache/skywalking-eyes/header@main
- shell: bash - shell: bash
run: ./mvnw spotless:check run: ./mvnw spotless:check

2
.licenserc.yaml

@ -47,5 +47,7 @@ header:
- '.github/actions/translate-on-issue/**' - '.github/actions/translate-on-issue/**'
- '**/.gitkeep' - '**/.gitkeep'
- 'org.mockito.plugins.MockMaker' - 'org.mockito.plugins.MockMaker'
- tools/dependencies/known-dependencies.txt
- '**/banner.txt'
comment: on-failure comment: on-failure

4
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java

@ -17,7 +17,9 @@
package org.apache.dolphinscheduler.api.service.impl; 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.enums.Status;
import org.apache.dolphinscheduler.api.exceptions.ServiceException; import org.apache.dolphinscheduler.api.exceptions.ServiceException;

Loading…
Cancel
Save