This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8320490da3 [CI] Fix checkstyle & review dog don't work (#10812)
8320490da3 is described below

commit 8320490da392d2d9d1f58760554e69b2b88136ea
Author: kezhenxu94 <[email protected]>
AuthorDate: Wed Jul 6 21:31:32 2022 +0800

    [CI] Fix checkstyle & review dog don't work (#10812)
---
 .github/actions/sanity-check/action.yml | 2 +-
 .github/workflows/backend.yml           | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/actions/sanity-check/action.yml 
b/.github/actions/sanity-check/action.yml
index 71a1f7839e..01189a9a39 100644
--- a/.github/actions/sanity-check/action.yml
+++ b/.github/actions/sanity-check/action.yml
@@ -47,7 +47,7 @@ runs:
       run: |
         if [[ -n "${{ inputs.token }}" ]]; then
           reviewdog -f=checkstyle \
-            -reporter="github-pr-check" \
+            -reporter="github-pr-review" \
             -filter-mode="added" \
             -fail-on-error="true" < target/checkstyle-result.xml
         fi
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 101bba8633..1ff9aff4af 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -71,6 +71,8 @@ jobs:
           distribution: 'adopt'
       - name: Sanity Check
         uses: ./.github/actions/sanity-check
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
       - uses: actions/cache@v3
         with:
           path: ~/.m2/repository

Reply via email to