File tree 2 files changed +22
-5
lines changed
2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 59
59
60
60
# ===============================================
61
61
62
+ - name : Install git-secrets
63
+ shell : bash
64
+ run : |
65
+ sudo apt-get update && sudo apt-get install -y git-secrets
66
+ git-secrets --register-aws
67
+
68
+ - uses : ./.github/actions/elapsed-time
69
+ with :
70
+ statement : " Install git-secrets"
71
+
72
+ # ===============================================
73
+
62
74
- name : restore lychee cache
63
75
uses : actions/cache@v4
64
76
with :
Original file line number Diff line number Diff line change @@ -124,12 +124,17 @@ repos:
124
124
pass_filenames : true
125
125
types : [yaml]
126
126
127
+ - id : git-secrets
128
+ name : git-secrets
129
+ language : system
130
+ entry : bash
131
+ args :
132
+ - -c
133
+ - |
134
+ git-secrets --scan
135
+ pass_filenames : false
136
+
127
137
- repo : https://github.com/igorshubovych/markdownlint-cli
128
138
rev : v0.43.0
129
139
hooks :
130
140
- id : markdownlint
131
-
132
- - repo : https://github.com/pre-commit/pre-commit-hooks
133
- rev : v5.0.0
134
- hooks :
135
- - id : forbid-submodules
You can’t perform that action at this time.
0 commit comments