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