Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

---
version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
cooldown:
default-days: 7
1 change: 1 addition & 0 deletions .github/linters/.checkov.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
skip-framework:
- cloudformation
skip-path:
Expand Down
47 changes: 47 additions & 0 deletions .github/linters/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,51 @@
---
version: "2"

issues:
new-from-rev: origin/main
linters:
enable:
- gocritic
- gosec
- revive
- unconvert
- unparam
- wastedassign
- whitespace
settings:
errcheck:
check-blank: true
gocritic:
disabled-checks:
- singleCaseSwitch
- appendAssign
revive:
severity: warning
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- dupl
- goconst
- gosec
path: _test\.go
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
- \.pb\.go
1 change: 1 addition & 0 deletions .github/linters/.protolintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
lint:
rules:
remove: # TODO: fix proto files and remove these.
Expand Down
1 change: 1 addition & 0 deletions .github/linters/trivy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
scan:
skip-dirs:
- manifests
Expand Down
Loading