diff --git a/src/@orb.yml b/src/@orb.yml index 4b184b4..b8e1ab3 100644 --- a/src/@orb.yml +++ b/src/@orb.yml @@ -25,21 +25,15 @@ examples: jobs: - ggshield/scan: name: ggshield-scan # best practice is to name each orb job - base_revision: <> - revision: <> - jobs: scan: parameters: - base_revision: - description: | - ID of the first commit to scan. Leave empty to only scan the latest - commit. + number_commits_gh: + description: number of commits in the GitHub event. type: string - default: "" - revision: - description: ID of the last commit to scan. + number_commits_gl: + description: number of commits in the GitLab event. type: string tag: description: | @@ -50,7 +44,8 @@ jobs: docker: - image: gitguardian/ggshield:<> environment: - CIRCLE_RANGE: <>...<> + CIRCLE_GH_COMMIT_COUNT: <> + CIRCLE_GL_COMMIT_COUNT: <> steps: - checkout - - run: ggshield secret scan -v ci + - run: ggshield secret scan -v ci \ No newline at end of file