Skip to content

Commit

Permalink
fix: add debug log
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Feb 27, 2024
1 parent cdd2694 commit 2025223
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/reviewdog-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,28 @@ jobs:
- name: Run lint for files && Report to GitHub
run: |
make files/lint > ${RESULT_FILE}
cat ${RESULT_FILE} # for debug
cat ${RESULT_FILE} | \
reviewdog \
-f=checkstyle \
-name="files lint" \
-diff="git diff ${{ github.event.pull_request.base.ref }}" \
-reporter=github-pr-review \
-level="${LEVEL}"
reviewdog \
-f=checkstyle \
-name="files lint" \
-diff="git diff ${{ github.event.pull_request.base.ref }}" \
-reporter=github-pr-review \
-level="${LEVEL}"
env:
LEVEL: "error"
RESULT_FILE: "result-files-lint.txt"
- name: Run lint for documents && Report to GitHub
run: |
make docs/lint > ${RESULT_FILE}
cat ${RESULT_FILE} | \
reviewdog \
-f=checkstyle \
-name="docs lint" \
-diff="git diff ${{ github.event.pull_request.base.ref }}" \
-reporter=github-pr-review \
-level="${LEVEL}"
reviewdog \
-f=checkstyle \
-name="docs lint" \
-diff="git diff ${{ github.event.pull_request.base.ref }}" \
-reporter=github-pr-review \
-level="${LEVEL}"
env:
LEVEL: "error"
RESULT_FILE: "result-docs-lint.txt"

0 comments on commit 2025223

Please sign in to comment.