From c8ac17f5f6d9cee5cc585a648ca65483c713f488 Mon Sep 17 00:00:00 2001 From: Mark Cheret Date: Sun, 4 Apr 2021 22:21:48 +0200 Subject: [PATCH] Update symfonycorp.yml --- .github/workflows/symfonycorp.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/symfonycorp.yml b/.github/workflows/symfonycorp.yml index 8e8b6af..bd0a0a7 100644 --- a/.github/workflows/symfonycorp.yml +++ b/.github/workflows/symfonycorp.yml @@ -1,2 +1,25 @@ -name: The PHP Security Checker -uses: symfonycorp/security-checker-action@v2 +name: 'The PHP Security Checker' +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 }}"