Last active
January 27, 2023 22:54
-
-
Save syntaqx/1433d5a6d138659242e3557caed8f054 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Psalm Static Analysis | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
jobs: | |
psalm: | |
runs-on: ubuntu-latest | |
name: Psalm | |
steps: | |
- uses: actions/checkout@v3 | |
- | |
name: Psalm | |
uses: docker://vimeo/psalm-github-actions | |
with: | |
security_analysis: true | |
composer_require_dev: true | |
composer_ignore_platform_reqs: true | |
report_file: results.sarif | |
- | |
name: Upload Security Analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: results.sarif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment