File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,18 @@ 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
-
28
+ number_commits_gh : <<pipeline.trigger_parameters.github_app.total_commits_count>>
29
+ number_commits_gl : <<pipeline.trigger_parameters.gitlab.total_commits_count>>
31
30
32
31
jobs :
33
32
scan :
34
33
parameters :
34
+ number_commits_gh :
35
+ description : number of commits in the GitHub event.
36
+ type : string
37
+ number_commits_gl :
38
+ description : number of commits in the GitLab event.
39
+ type : string
35
40
base_revision :
36
41
description : |
37
42
ID of the first commit to scan. Leave empty to only scan the latest
50
55
docker :
51
56
- image : gitguardian/ggshield:<<parameters.tag>>
52
57
environment :
53
- CIRCLE_RANGE : <<parameters.base_revision>>...<<parameters.revision>>
58
+ NUMBER_COMMITS_GH : <<parameters.number_commits_gh>>
59
+ NUMBER_COMMITS_GL : <<parameters.number_commits_gl>>
54
60
steps :
55
61
- checkout
56
62
- run : ggshield secret scan -v ci
You can’t perform that action at this time.
0 commit comments