From 2fe565da97b1a5f23cf7e9a34895a6a30c5682b1 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..9fa3d393f9d 100644 --- a/.github/workflows/verible-format.yml +++ b/.github/workflows/verible-format.yml @@ -1,7 +1,7 @@ name: Verible formatter on: - pull_request_target: + pull_request: 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