psalm-security.yml 648 B

12345678910111213141516171819202122232425262728
  1. name: Psalm Security Analysis
  2. on:
  3. pull_request:
  4. push:
  5. branches:
  6. - master
  7. - stable*
  8. jobs:
  9. psalm:
  10. name: Psalm
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout code
  14. uses: actions/checkout@v2
  15. with:
  16. submodules: recursive
  17. - name: Psalm
  18. uses: docker://vimeo/psalm-github-actions:4.9.3
  19. with:
  20. security_analysis: true
  21. composer_ignore_platform_reqs: false
  22. report_file: results.sarif
  23. - name: Upload Security Analysis results to GitHub
  24. uses: github/codeql-action/upload-sarif@v1
  25. with:
  26. sarif_file: results.sarif