ldc-shared-ci/security/composer.yml
Administrator e81737ba82 Update 8 files
- /security/npm.yml
- /security/composer.yml
- /security/security.yml
- /test/test.yml
- /build/composer.yml
- /build/npm.yml
- /build/docker.yml
- /build/build.yml
2023-02-17 12:19:49 +00:00

14 lines
No EOL
538 B
YAML

composer-security:
stage: security
image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/ldcweb-qa:php8.1-1.0
script:
- local-php-security-checker --format=json --path=./composer.lock > composer-security-checker-report.json
artifacts:
when: on_failure
expose_as: 'composer-security-checker'
paths:
- composer-security-checker-report.json
allow_failure: true
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == "develop"