22# #### CI for use by github no need for action to be added
33# #### Inherited
44ci :
5- autofix_prs : false
6- skip : [detect-aws-credentials, ansible-lint ]
5+ autofix_prs : false
6+ skip : [detect-aws-credentials, ansible-lint ]
77
88repos :
99- repo : https://github.com/pre-commit/pre-commit-hooks
1010 rev : v5.0.0
1111 hooks :
1212 # Safety
1313 - id : detect-aws-credentials
14+ name : Detect AWS Credentials
1415 - id : detect-private-key
16+ name : Detect Private Keys
1517
1618 # git checks
1719 - id : check-merge-conflict
20+ name : Check for merge conflicts
1821 - id : check-added-large-files
22+ name : Check for Large files
1923 - id : check-case-conflict
24+ name : Check case conflict
2025
2126 # General checks
2227 - id : trailing-whitespace
@@ -27,22 +32,21 @@ repos:
2732 types : [text]
2833 args : [--markdown-linebreak-ext=md]
2934 - id : end-of-file-fixer
35+ name : Ensure line at end of file
3036
3137# Scan for passwords
3238- repo : https://github.com/Yelp/detect-secrets
3339 rev : v1.5.0
3440 hooks :
3541 - id : detect-secrets
36- args : [ '--baseline', '.config/.secrets.baseline' ]
3742
3843- repo : https://github.com/gitleaks/gitleaks
39- rev : v8.21.2
44+ rev : v8.23.3
4045 hooks :
4146 - id : gitleaks
42- args : ['--baseline-path', '.config/.gitleaks-report.json']
4347
4448- repo : https://github.com/ansible-community/ansible-lint
45- rev : v24.9 .2
49+ rev : v25.1 .2
4650 hooks :
4751 - id : ansible-lint
4852 name : Ansible-lint
@@ -53,14 +57,15 @@ repos:
5357 # https://github.com/ansible/ansible-lint/issues/611
5458 pass_filenames : false
5559 always_run : true
56- additional_dependencies :
60+ # additional_dependencies:
5761 # https://github.com/pre-commit/pre-commit/issues/1526
5862 # If you want to use specific version of ansible-core or ansible, feel
5963 # free to override `additional_dependencies` in your own hook config
6064 # file.
61- - ansible-core>=2.10.1
65+ # - ansible-core>=2.10.1
6266
6367- repo : https://github.com/adrienverge/yamllint.git
6468 rev : v1.35.1 # or higher tag
6569 hooks :
6670 - id : yamllint
71+ name : Check YAML Lint
0 commit comments