ci: Don't upload output of normal psalm to GitHub Security section

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/48476/head
Joas Schilling 1 year ago
parent 95bafb4980
commit 990ee44015
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
  1. 8
      .github/workflows/static-code-analysis.yml

@ -34,18 +34,12 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
static-code-analysis-security:
runs-on: ubuntu-latest

Loading…
Cancel
Save