Skip to content

Commit

Permalink
backport securitycheck
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed May 10, 2023
1 parent a08a072 commit 96e861c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .woodpecker/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ pipeline:
# when:
# path: *when_path

securitycheck:
group: test
image: aquasec/trivy:latest
commands:
- trivy fs --exit-code 0 --skip-dirs web/ --skip-dirs docs/ --severity UNKNOWN,LOW .
- trivy fs --exit-code 1 --skip-dirs web/ --skip-dirs docs/ --severity MEDIUM,HIGH,CRITICAL .
when:
path: *when_path
failure: ignore

test:
image: *golang_image
group: test
Expand Down

0 comments on commit 96e861c

Please sign in to comment.