From ff2fbe0294540f57e758f80f35ae54604bda4abf Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Tue, 17 Sep 2024 09:34:18 -0400 Subject: [PATCH] Disable linter for dependabot PRs Because this repository uses vendored dependencies, and grouping for dependabot updates, the PRs created by dependabot are huge. This causes issues for the linter: https://github.com/golangci/golangci-lint-action/issues/996 The chances of dependabot creating new linting issues are minimal. Signed-off-by: Luiz Carvalho --- .github/workflows/lint.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a449f23464..7c64814ffa 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -14,6 +14,11 @@ permissions: pull-requests: read jobs: golangci: + # Because this repository uses vendored dependencies, and grouping for dependabot updates, the + # PRs created by dependabot are huge. This causes issues for the linter: + # https://github.com/golangci/golangci-lint-action/issues/996 + # The chances of dependabot creating new linting issues are minimal. + if: github.actor != 'dependabot[bot]' name: lint runs-on: ubuntu-latest steps: