mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
temporary deactivate securitycheck for golang
This commit is contained in:
parent
77d830d5b5
commit
fb5b259856
@ -49,14 +49,15 @@ pipeline:
|
||||
image: mstruebing/editorconfig-checker
|
||||
group: test
|
||||
|
||||
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
|
||||
# Fixed with https://github.com/woodpecker-ci/woodpecker/pull/1753
|
||||
# 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
|
||||
|
||||
test:
|
||||
image: *golang_image
|
||||
|
Loading…
Reference in New Issue
Block a user