File tree 1 file changed +7
-12
lines changed
1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,15 @@ examples:
25
25
jobs :
26
26
- ggshield/scan :
27
27
name : ggshield-scan # best practice is to name each orb job
28
- base_revision : <<pipeline.git.base_revision>>
29
- revision : <<pipeline.git.revision>>
30
-
31
28
32
29
jobs :
33
30
scan :
34
31
parameters :
35
- base_revision :
36
- description : |
37
- ID of the first commit to scan. Leave empty to only scan the latest
38
- commit.
32
+ number_commits_gh :
33
+ description : number of commits in the GitHub event.
39
34
type : string
40
- default : " "
41
- revision :
42
- description : ID of the last commit to scan.
35
+ number_commits_gl :
36
+ description : number of commits in the GitLab event.
43
37
type : string
44
38
tag :
45
39
description : |
50
44
docker :
51
45
- image : gitguardian/ggshield:<<parameters.tag>>
52
46
environment :
53
- CIRCLE_RANGE : <<parameters.base_revision>>...<<parameters.revision>>
47
+ CIRCLE_GH_COMMIT_COUNT : <<pipeline.trigger_parameters.github_app.total_commits_count>>
48
+ CIRCLE_GL_COMMIT_COUNT : <<pipeline.trigger_parameters.gitlab.total_commits_count>>
54
49
steps :
55
50
- checkout
56
- - run : ggshield secret scan -v ci
51
+ - run : ggshield secret scan -v ci
You can’t perform that action at this time.
0 commit comments