Skip to content

Commit

Permalink
docs: update gitlab cloud example to do diffscan on mr
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger committed Jan 10, 2024
1 parent e142a5d commit a19fb82
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/_data/examples/ci/gitlab/cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
bearer:
bearer_cloud:
stage: bearer
image:
name: bearer/bearer
entrypoint: [""]
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
variables:
BEARER_DIFF: 1
script: bearer scan . --api-key=$BEARER_TOKEN

0 comments on commit a19fb82

Please sign in to comment.