Skip to content

Commit ff2fbe0

Browse files
committed
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: golangci/golangci-lint-action#996 The chances of dependabot creating new linting issues are minimal. Signed-off-by: Luiz Carvalho <[email protected]>
1 parent e6c2a19 commit ff2fbe0

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)