Skip to content

Commit

Permalink
Disable linter for dependabot PRs
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 committed Sep 17, 2024
1 parent e6c2a19 commit ff2fbe0
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 ff2fbe0

Please sign in to comment.