From 079e87892a57aa37700fa244b930332259edad6b Mon Sep 17 00:00:00 2001 From: Tomasz Michalak Date: Thu, 21 Nov 2024 14:15:02 +0100 Subject: [PATCH] CI: Make reviewdog only upload linting and formatting logfiles --- .github/workflows/verible-format.yml | 6 +++--- .github/workflows/verible-lint.yml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verible-format.yml b/.github/workflows/verible-format.yml index 466966268bd..5f275a108e6 100644 --- a/.github/workflows/verible-format.yml +++ b/.github/workflows/verible-format.yml @@ -1,7 +1,7 @@ name: Verible formatter on: - pull_request_target: + push: jobs: format-review: @@ -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' diff --git a/.github/workflows/verible-lint.yml b/.github/workflows/verible-lint.yml index d023a762eb4..f8455e52420 100644 --- a/.github/workflows/verible-lint.yml +++ b/.github/workflows/verible-lint.yml @@ -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