Skip to content

Commit

Permalink
fix: lint for files
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 1e1848a commit cd5a59f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/reviewdog-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,23 @@ jobs:
run: |
make reviewdog/install
make textlint/ci/install
# - name: Run lint
# run: |
# make docs/lint
# make files/lint
- name: Run lint && Report to GitHub
run: |
make files/lint | \
reviewdog \
-f=checkstyle \
-name="textlint" \
-diff="git diff ${{ github.event.pull_request.base.ref }}" \
-reporter=github-pr-review \
-level="${LEVEL}"
make docs/lint | \
reviewdog \
-f=checkstyle \
-name="textlint" \
-diff="git diff ${{ github.event.pull_request.base.ref }}" \
-reporter=github-pr-review \
-level="${LEVEL}"
echo "hello"
env:
LEVEL: "error"
REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit cd5a59f

Please sign in to comment.