Skip to content

Commit 1e2519b

Browse files
authored
Disable linter for dependabot PRs (#1206)
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]>
1 parent 2230e92 commit 1e2519b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/lint.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ permissions:
1414
pull-requests: read
1515
jobs:
1616
golangci:
17+
# Because this repository uses vendored dependencies, and grouping for dependabot updates, the
18+
# PRs created by dependabot are huge. This causes issues for the linter:
19+
# https://github.com/golangci/golangci-lint-action/issues/996
20+
# The chances of dependabot creating new linting issues are minimal.
21+
if: github.actor != 'dependabot[bot]'
1722
name: lint
1823
runs-on: ubuntu-latest
1924
steps:

0 commit comments

Comments
 (0)