Skip to content

Commit b667f1b

Browse files
committed
gitlab test
1 parent fe55f42 commit b667f1b

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
stages:
22
- reports
3-
3+
44
bearer:
55
stage: reports
66
only:
@@ -9,7 +9,7 @@ bearer:
99
name: bearer/bearer
1010
entrypoint: [ "" ]
1111
script:
12-
- bearer scan . --format gitlab-sast --output gl-sast-report.json
12+
- bearer scan . --diff --format gitlab-sast --output gl-sast-report.json
1313
artifacts:
1414
reports:
1515
sast: gl-sast-report.json
@@ -19,7 +19,5 @@ bearer_mr_check:
1919
only:
2020
- merge_requests
2121
script:
22-
- curl -sfL https://raw.githubusercontent.com/Bearer/bearer/main/contrib/install.sh | sh -s -- -b /usr/local/bin
2322
- curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin
24-
- bearer scan . --format=rdjson --output=rd.json
25-
- cat rd.json | reviewdog -f=rdjson -reporter=gitlab-mr-discussion
23+
- ./bearer scan --diff . --debug

bearer

57.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)