Skip to content

Commit fab84a8

Browse files
authored
Merge pull request #63 from xoap-io/dev
Fix: adjusted pre-commit configuration
2 parents 24e7f30 + 5f1d639 commit fab84a8

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

.github/workflows/dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Dependabot metadata
1313
id: dependabot-metadata
14-
uses: dependabot/fetch-metadata@v1.4.0
14+
uses: dependabot/fetch-metadata@v1.6.0
1515
with:
1616
github-token: ${{ secrets.GITHUB_TOKEN }}
1717
- name: Approve a PR

.github/workflows/megalinter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919
- name: MegaLinter
2020
id: ml
21-
uses: megalinter/megalinter/flavors/terraform@v6.22.2
21+
uses: megalinter/megalinter/flavors/terraform@v7.4.0
2222
env:
2323
VALIDATE_ALL_CODEBASE: true
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/compilerla/conventional-pre-commit
4-
rev: v2.2.0
4+
rev: v2.4.0
55
hooks:
66
- id: conventional-pre-commit
77
stages: [commit-msg]
@@ -34,7 +34,7 @@ repos:
3434
args:
3535
- -b main
3636
- repo: https://github.com/antonbabenko/pre-commit-terraform
37-
rev: v1.79.1
37+
rev: v1.83.4
3838
hooks:
3939
- id: terraform_fmt
4040
- id: terraform_tflint
@@ -45,19 +45,12 @@ repos:
4545
- --hook-config=--create-file-if-not-exist=true
4646
- id: terraform_tfsec
4747
- id: terraform_validate
48-
- repo: local
49-
hooks:
50-
- id: kics-scan-local
51-
name: Kics scan
52-
language: docker_image
53-
entry: checkmarx/kics scan -p /src --no-progress
54-
verbose: true
5548
- repo: https://github.com/sirosen/check-jsonschema
56-
rev: 0.23.0
49+
rev: 0.27.0
5750
hooks:
5851
- id: check-github-workflows
5952
- repo: https://github.com/pre-commit/mirrors-prettier
60-
rev: v3.0.0-alpha.9-for-vscode
53+
rev: v3.0.3
6154
hooks:
6255
- id: prettier
6356
stages: [commit]

0 commit comments

Comments
 (0)