Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jwson-automation committed Aug 3, 2024
1 parent 3ee8ed0 commit 39b8ad2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/lint-check-reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: lint-check-reviewdog

on: [ push, pull_request ]
on: [ pull_request ]

permissions:
contents: read
Expand Down Expand Up @@ -35,6 +35,12 @@ jobs:

- name: Run reviewdog
run: |
flutter analyze | reviewdog -f=checkstyle -name="Flutter Analyze" -reporter=github-pr-review
flutter analyze | reviewdog -f="diff" \
-name="black" \
-f.diff.strip=0 \
-reporter="github-pr-review" \
-filter-mode="file" \
-fail-on-error="true" \
-level="warning"|
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 39b8ad2

Please sign in to comment.