Skip to content

Commit e050b44

Browse files
authored
fix: use full checkout for detect secrets jobs (#65)
CircleCI is changing default checkout method from `full` to `blobless`, which is incompatible with Gitleaks. Explicitly set checkout method to `full` for detect secrets jobs to continue proper operating.
1 parent 2317f76 commit e050b44

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/jobs/detect_secrets_dir.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ parameters:
1919
description: The path to the baseline report, i.e. issues that can be ignored.
2020

2121
steps:
22-
- checkout
22+
- checkout:
23+
method: full
2324
- detect_secrets:
2425
source: <<parameters.source>>
2526
mode: dir

src/jobs/detect_secrets_git.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ parameters:
2626
"<<pipeline.git.base_revision>>" pipeline parameter.
2727
2828
steps:
29-
- checkout
29+
- checkout:
30+
method: full
3031
- detect_secrets:
3132
mode: git
3233
config: <<parameters.config>>

0 commit comments

Comments
 (0)