From 1a9e3e1d943c861db4b9b88ba4586434cef200e7 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 | 5 +++-- .github/workflows/verible-lint.yml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verible-format.yml b/.github/workflows/verible-format.yml index 466966268bd..e2bc5b695cf 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,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' }} 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