mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
updated precommit config
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
0713706d4c
commit
4bbf19b6d1
2 changed files with 8 additions and 3 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
##### CI for use by github no need for action to be added
|
||||||
|
##### Inherited
|
||||||
|
ci:
|
||||||
|
autofix_prs: false
|
||||||
|
skip: [detect-aws-credentials, ansible-lint ]
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
|
@ -28,7 +33,7 @@ repos:
|
||||||
rev: v1.4.0
|
rev: v1.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: detect-secrets
|
- id: detect-secrets
|
||||||
args: ['--baseline', '.precommit/.secrets.baseline']
|
args: ['--baseline', '.secrets.baseline']
|
||||||
exclude: package.lock.json
|
exclude: package.lock.json
|
||||||
|
|
||||||
- repo: https://github.com/ansible-community/ansible-lint
|
- repo: https://github.com/ansible-community/ansible-lint
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detect_secrets.filters.common.is_baseline_file",
|
"path": "detect_secrets.filters.common.is_baseline_file",
|
||||||
"filename": ".precommit/.secrets.baseline"
|
"filename": ".secrets.baseline"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
|
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
|
||||||
|
|
@ -166,5 +166,5 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"generated_at": "2023-07-31T09:36:20Z"
|
"generated_at": "2023-08-01T16:07:28Z"
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue