File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -236,29 +236,25 @@ Perform the following steps to install the pre-commit hook:
236236 ```yaml
237237 repos:
238238 - repo: https://github.com/cycodehq/cycode-cli
239- rev: v3.4.2
239+ rev: v3.5.0
240240 hooks:
241241 - id: cycode
242- stages:
243- - pre-commit
242+ stages: [pre-commit]
244243 ```
245244
2462454. Modify the created file for your specific needs. Use hook ID `cycode` to enable scan for Secrets. Use hook ID `cycode-sca` to enable SCA scan. Use hook ID `cycode-sast` to enable SAST scan. If you want to enable all scanning types, use this configuration:
247246
248247 ```yaml
249248 repos:
250249 - repo: https://github.com/cycodehq/cycode-cli
251- rev: v3.4.2
250+ rev: v3.5.0
252251 hooks:
253252 - id: cycode
254- stages:
255- - pre-commit
253+ stages: [pre-commit]
256254 - id: cycode-sca
257- stages:
258- - pre-commit
255+ stages: [pre-commit]
259256 - id: cycode-sast
260- stages:
261- - pre-commit
257+ stages: [pre-commit]
262258 ```
263259
2642605. Install Cycode’s hook:
@@ -290,7 +286,7 @@ To install the pre-push hook in addition to or instead of the pre-commit hook:
290286 ```yaml
291287 repos:
292288 - repo: https://github.com/cycodehq/cycode-cli
293- rev: v3.4.2
289+ rev: v3.5.0
294290 hooks:
295291 - id: cycode-pre-push
296292 stages: [pre-push]
@@ -844,7 +840,7 @@ To set up the pre-push hook using the pre-commit framework:
844840 ```yaml
845841 repos:
846842 - repo: https://github.com/cycodehq/cycode-cli
847- rev: v3.4.2
843+ rev: v3.5.0
848844 hooks:
849845 - id: cycode-pre-push
850846 stages: [pre-push]
@@ -855,7 +851,7 @@ To set up the pre-push hook using the pre-commit framework:
855851 ```yaml
856852 repos:
857853 - repo: https://github.com/cycodehq/cycode-cli
858- rev: v3.4.2
854+ rev: v3.5.0
859855 hooks:
860856 - id: cycode-pre-push # Secrets scan
861857 stages: [pre-push]
You can’t perform that action at this time.
0 commit comments