Skip to content

Commit d179d7f

Browse files
committed
bumps version in pre-commit configs
1 parent 5cc8e5c commit d179d7f

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff 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
246245
4. 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
264260
5. 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]

0 commit comments

Comments
 (0)