Skip to content
Merged
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
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 2
groups:
github-actions:
patterns: ["*"]
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 2
groups:
gomod:
patterns: ["*"]
- package-ecosystem: npm
directory: /.github/scripts/server-json-validator
schedule:
interval: weekly
open-pull-requests-limit: 2
groups:
npm:
patterns: ["*"]
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ linters:
hugeParam:
sizeThreshold: 1024
gocyclo:
min-complexity: 15
min-complexity: 10
gosec:
excludes:
- G104
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:

# Terraform formatting
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.105.0
rev: d0e12caebb2ab0ee8bf98181c8bfe9702bca103d # v1.105.0
hooks:
- id: terraform_fmt
name: Terraform format
Expand All @@ -43,15 +43,15 @@ repos:

# General file checks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
hooks:
- id: trailing-whitespace
name: Trim trailing whitespace
- id: end-of-file-fixer
name: Fix end of files
- id: check-yaml
name: Check YAML syntax
exclude: '^(docker-compose.*\.yml|\.github/workflows/.*|cloudformation/.*|iac/.*/cloudformation/.*)$'
exclude: '^(docker-compose.*\.yml|cloudformation/.*|iac/.*/cloudformation/.*)$'
- id: check-json
name: Check JSON syntax
- id: check-added-large-files
Expand Down Expand Up @@ -139,7 +139,7 @@ repos:

# Markdown linting
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.47.0
rev: 76b3d32d3f4b965e1d6425253c59407420ae2c43 # v0.47.0
hooks:
- id: markdownlint
name: Lint Markdown files
Expand Down
Loading