Skip to content

Commit

Permalink
CI — Fix path in static code analysis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devnoname120 committed Feb 26, 2025
1 parent 52575cb commit 22c90e2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ jobs:
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif

- name: Show potential changes in Psalm baseline
working-directory: epubviewer
if: always()
run: git diff -- . ':!lib/composer'

- name: Upload Analysis results to CodeQL
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: apps/epubviewer/results.sarif
sarif_file: results.sarif

static-code-analysis-security:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -90,8 +89,8 @@ jobs:
- name: Psalm taint analysis
run: composer run psalm -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis

# - name: Upload Security Analysis results to GitHub
# if: always()
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: results.sarif
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif

0 comments on commit 22c90e2

Please sign in to comment.