Skip to content

Commit 0bd0ffb

Browse files
authored
Merge pull request #39 from mbaldessari/scripted-changes
Fix .gitleaks.toml
2 parents 6a26fec + 2149f24 commit 0bd0ffb

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/linters/.gitleaks.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# As of v4, gitleaks only matches against filename, not path in the
33
# files directive. Leaving content for backwards compatibility.
44
files = [
5-
"common/ansible/plugins/modules/*.py",
6-
"common/ansible/tests/unit/test_*.py",
7-
"common/ansible/tests/unit/v1/*.yaml",
5+
"ansible/plugins/modules/*.py",
6+
"ansible/tests/unit/test_*.py",
7+
"ansible/tests/unit/*.yaml",
8+
"ansible/tests/unit/v2/*.yaml",
89
]

.github/workflows/superlinter.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,24 @@ jobs:
2121
# Run Linter against code base #
2222
################################
2323
- name: Lint Code Base
24-
uses: github/super-linter/slim@v5
24+
uses: super-linter/super-linter/slim@v7
2525
env:
2626
VALIDATE_ALL_CODEBASE: true
2727
DEFAULT_BRANCH: main
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
# These are the validation we disable atm
30+
VALIDATE_ANSIBLE: false
3031
VALIDATE_BASH: false
32+
VALIDATE_CHECKOV: false
3133
VALIDATE_JSCPD: false
34+
VALIDATE_JSON_PRETTIER: false
35+
VALIDATE_MARKDOWN_PRETTIER: false
3236
VALIDATE_KUBERNETES_KUBECONFORM: false
33-
VALIDATE_YAML: false
34-
VALIDATE_ANSIBLE: false
37+
VALIDATE_PYTHON_PYLINT: false
38+
VALIDATE_SHELL_SHFMT: false
3539
VALIDATE_TEKTON: false
40+
VALIDATE_YAML: false
41+
VALIDATE_YAML_PRETTIER: false
3642
# VALIDATE_DOCKERFILE_HADOLINT: false
3743
# VALIDATE_MARKDOWN: false
3844
# VALIDATE_NATURAL_LANGUAGE: false

0 commit comments

Comments
 (0)