mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-24 20:57:29 +00:00
chore: linting improvements and catching false positives (#882)
* chore: linting improvements and catching false positives Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: linting improvements and catching false positives Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: linting improvements and catching false positives Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: increase linter time out Signed-off-by: Alex Jones <alexsimonjones@gmail.com> --------- Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
4
.github/workflows/golangci_lint.yaml
vendored
4
.github/workflows/golangci_lint.yaml
vendored
@@ -2,7 +2,7 @@ name: Run golangci-lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
golangci-lint:
|
||||
@@ -16,3 +16,5 @@ jobs:
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
reporter: github-pr-check
|
||||
golangci_lint_flags: "--timeout=120s"
|
||||
level: warning
|
||||
|
Reference in New Issue
Block a user