From 9d2162b61c5d5ceb58e61919030743e79c94f78b Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 24 Nov 2023 14:07:24 -0300 Subject: [PATCH] build: report only new lint problems Signed-off-by: Carlos Alexandro Becker --- .github/workflows/lint.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 30cc244f3f2..0d237afb3ae 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,8 +12,8 @@ permissions: jobs: golangci: permissions: - contents: read # for actions/checkout to fetch code - pull-requests: read # for golangci/golangci-lint-action to fetch pull requests + contents: read # for actions/checkout to fetch code + pull-requests: read # for golangci/golangci-lint-action to fetch pull requests name: lint runs-on: ubuntu-latest steps: @@ -25,4 +25,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3 with: - args: --timeout=5m + args: --timeout=5m - + only-new-issues: true