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 1a9e3e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 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:
push:

jobs:
format-review:
Expand All @@ -14,7 +14,8 @@ 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 }}
reviewdog_reporter: 'local'
fail_on_formatting_suggestions: ${{ github.event_name != 'pull_request_target' }}
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 1a9e3e1

Please sign in to comment.