Skip to content

Commit

Permalink
Add The PHP Security Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikus Rozenbergs committed Mar 7, 2024
1 parent 0ee0bf9 commit a952074
Showing 1 changed file with 3 additions and 31 deletions.
34 changes: 3 additions & 31 deletions .github/workflows/security-checker.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
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'
format:
description: 'The output format (ansi by default, supported: ansi, junit, markdown, json, or yaml)'
required: false
default: ansi
disable-exit-code:
description: 'Whether to continue when issues are detected (false by default)'
required: false
default: 0
outputs:
vulns:
description: 'The detected vulnerabilities as JSON'
runs:
using: 'docker'
image: 'docker://ghcr.io/symfony-cli/symfony-cli:v5'
args:
- "security:check"
- "--format"
- ${{ inputs.format }}
- "--dir"
- ${{ inputs.lock }}
- "--disable-exit-code=${{ inputs.disable-exit-code }}"
- name: The PHP Security Checker
uses: symfonycorp/security-checker-action@v5

0 comments on commit a952074

Please sign in to comment.