Skip to content

Commit

Permalink
fix: general configs
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Sep 23, 2022
1 parent 1f361ed commit ea19f4d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/zricethezav/gitleaks
rev: v8.8.7
rev: v8.13.0
hooks:
- id: gitleaks
args: ["--config", ".github/config/.gitleaks.toml", "--verbose"]
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.27.1
rev: v2.35.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/hadolint/hadolint.git
- repo: https://github.com/hadolint/hadolint
rev: v2.10.0
hooks:
- id: hadolint
args: ["--config", ".github/config/.hadolint.yaml"]
- repo: https://github.com/lirantal/anti-trojan-source
rev: v1.4.0
hooks:
- id: anti-trojan-source
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"preinstall": "npx force-resolutions",
"secrets": "gitleaks detect --config .github/config/.gitleaks.toml --verbose",
"docker-lint": "docker run --rm -i ghcr.io/hadolint/hadolint < Dockerfile",
"docker-inspect": "docker image build -t teste:1.0.0 . && dive teste:1.0.0 --config .dive-ci.yml --ci",
"docker-inspect": "docker image build -t teste:1.0.0 . && dive teste:1.0.0 --config .github/config/.dive-ci.yaml --ci",
"docker-scan": "docker image build -t teste:1.0.0 . && trivy image teste:1.0.0"
},
"commitlint": {
Expand Down

0 comments on commit ea19f4d

Please sign in to comment.