File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,16 @@ examples:
2525 jobs :
2626 - ggshield/scan :
2727 name : ggshield-scan # best practice is to name each orb job
28- base_revision : <<pipeline.git.base_revision>>
29- revision : <<pipeline.git.revision>>
30-
3128
3229jobs :
3330 scan :
3431 parameters :
32+ number_commits_gh :
33+ description : number of commits in the GitHub event.
34+ type : string
35+ number_commits_gl :
36+ description : number of commits in the GitLab event.
37+ type : string
3538 base_revision :
3639 description : |
3740 ID of the first commit to scan. Leave empty to only scan the latest
5053 docker :
5154 - image : gitguardian/ggshield:<<parameters.tag>>
5255 environment :
53- CIRCLE_RANGE : <<parameters.base_revision>>...<<parameters.revision>>
56+ CIRCLE_GH_COMMIT_COUNT : <<pipeline.trigger_parameters.github_app.total_commits_count>>
57+ CIRCLE_GL_COMMIT_COUNT : <<pipeline.trigger_parameters.gitlab.total_commits_count>>
5458 steps :
5559 - checkout
5660 - run : ggshield secret scan -v ci
You can’t perform that action at this time.
0 commit comments