Skip to content

Commit

Permalink
CI: Make reviewdog only upload linting and formatting logfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tmichalak committed Nov 21, 2024
1 parent 2388ae0 commit 2fe565d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/verible-format.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Verible formatter

on:
pull_request_target:
pull_request:

jobs:
format-review:
Expand All @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: chipsalliance/verible-formatter-action@main
- uses: antmicro/verible-formatter-action@reviewdog-reporter-parameter
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_formatting_suggestions: ${{ github.event_name != 'pull_request_target' }}
reviewdog_reporter: 'local'
1 change: 1 addition & 0 deletions .github/workflows/verible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: chipsalliance/verible-linter-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reviewdog_reporter: 'local'
extra_args: '--waiver_files=./violations.waiver'
paths: |
./design
Expand Down

0 comments on commit 2fe565d

Please sign in to comment.