Skip to content

Commit

Permalink
Adding a github security scan for psalm (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobstrecansky authored May 27, 2021
1 parent 60618f1 commit bbc09fb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/psalm-security-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Psalm Security Analysis

on: [push, pull_request]

jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Psalm
uses: docker://vimeo/psalm-github-actions
with:
composer_require_dev: true
composer_ignore_platform_reqs: true
security_analysis: true
report_file: results.sarif

- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif

0 comments on commit bbc09fb

Please sign in to comment.