Skip to content

Commit

Permalink
Disable linter for dependabot PRs (#1206)
Browse files Browse the repository at this point in the history
Because this repository uses vendored dependencies, and grouping for
dependabot updates, the PRs created by dependabot are huge. This causes
issues for the linter:
    golangci/golangci-lint-action#996
The chances of dependabot creating new linting issues are minimal.

Signed-off-by: Luiz Carvalho <[email protected]>
  • Loading branch information
lcarva authored Sep 17, 2024
1 parent 2230e92 commit 1e2519b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1e2519b

Please sign in to comment.