Skip to content

Commit 531d1cb

Browse files
committed
update template to pass pre-check
1 parent 6c31a44 commit 531d1cb

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

.checkov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ skip-check:
2929
- CKV_GCP_35
3030
# base64 high entropy check causes too many false positives
3131
- CKV_SECRET_6
32+
# allow usage of default namespace in kubernetes
33+
- CKV_K8S_21

.copier-answers.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
# Changes here will be overwritten by Copier
3-
_commit: v2.31.1
3+
_commit: v2.42.0
44
_src_path: gh:remerge/template
55
project_id: terraform-modules
66
project_license: apache-2.0
77
project_name: Terraform Modules
88
project_owner: core
99
project_type: terraform-module
1010
use_python: false
11+
use_ruby: false

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# shellcheck shell=bash
2+
13
# Turns on shell execution strictness. This will force the .envrc
24
# evaluation context to exit immediately if:
35
#

.pre-commit-config.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
default_stages:
3-
- commit
3+
- pre-commit
44

55
default_install_hook_types:
66
- commit-msg
@@ -10,18 +10,15 @@ default_install_hook_types:
1010
repos:
1111
# https://github.com/pre-commit/pre-commit-hooks/tags
1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: "v4.6.0"
13+
rev: "v5.0.0"
1414
hooks:
1515
- id: check-added-large-files
1616
- id: check-case-conflict
1717
- id: check-executables-have-shebangs
1818
- id: check-merge-conflict
1919
- id: check-shebang-scripts-are-executable
2020
- id: check-symlinks
21-
- id: check-toml
2221
- id: check-vcs-permalinks
23-
- id: check-xml
24-
- id: check-yaml
2522
- id: destroyed-symlinks
2623
- id: detect-private-key
2724
- id: end-of-file-fixer
@@ -44,7 +41,7 @@ repos:
4441

4542
# https://github.com/igorshubovych/markdownlint-cli/tags
4643
- repo: https://github.com/igorshubovych/markdownlint-cli
47-
rev: "v0.41.0"
44+
rev: "v0.42.0"
4845
hooks:
4946
- id: markdownlint-fix
5047
name: markdownlint
@@ -71,18 +68,18 @@ repos:
7168

7269
# https://github.com/rhysd/actionlint/tags
7370
- repo: https://github.com/rhysd/actionlint
74-
rev: "v1.7.1"
71+
rev: "v1.7.3"
7572
hooks:
7673
- id: actionlint-docker
7774
name: actionlint
7875

7976
# https://github.com/bridgecrewio/checkov/tags
8077
- repo: https://github.com/bridgecrewio/checkov
81-
rev: "3.2.241"
78+
rev: "3.2.267"
8279
hooks:
8380
- id: checkov
8481
name: checkov
85-
args: [--config-file=.checkov.yml]
82+
args: [--config-file=.checkov.yml, --skip-path=vendor]
8683

8784
# https://github.com/jorisroovers/gitlint/tags
8885
- repo: https://github.com/jorisroovers/gitlint
@@ -99,7 +96,7 @@ repos:
9996

10097
# https://github.com/antonbabenko/pre-commit-terraform/tags
10198
- repo: https://github.com/antonbabenko/pre-commit-terraform
102-
rev: "v1.94.1"
99+
rev: "v1.96.1"
103100
hooks:
104101
- id: terraform_fmt
105102
name: terraform-fmt

.yamllint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ rules:
1414
truthy:
1515
allowed-values: ["true", "false"]
1616
check-keys: false
17+
braces:
18+
max-spaces-inside: 1
19+
octal-values:
20+
forbid-implicit-octal: true
21+
forbid-explicit-octal: true

0 commit comments

Comments
 (0)