Update symfonycorp.yml

This commit is contained in:
Mark Cheret 2021-04-04 22:21:48 +02:00 committed by Rumperuu
parent 3bc252bdd8
commit f3793c58f6

View file

@ -1,2 +1,25 @@
name: The PHP Security Checker name: 'The PHP Security Checker'
uses: symfonycorp/security-checker-action@v2 description: 'Checks composer.json for known vulnerabilities in your package dependencies'
branding:
icon: 'umbrella'
color: 'gray-dark'
inputs:
lock:
description: 'The path to composer.lock is stored (root directory by default)'
required: false
default: './composer.lock'
disable-exit-code:
description: 'Whether to fail when issues are detected (false by default)'
required: false
default: 0
outputs:
vulns:
description: 'The detected vulnerabilities as JSON'
runs:
using: 'docker'
image: 'docker://symfonycorp/cli:latest'
args:
- check:security
- "--dir"
- ${{ inputs.lock }}
- "--disable-exit-code=${{ inputs.disable-exit-code }}"