File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,26 +26,24 @@ jobs:
2626 run : semgrep ci --config auto --sarif --output semgrep.sarif
2727 env :
2828 SEMGREP_APP_TOKEN : ${{ secrets.SEMGREP_APP_TOKEN }}
29- - uses : github/codeql-action/upload-sarif@v3
29+ - uses : github/codeql-action/upload-sarif@v4
3030 if : always()
3131 with :
3232 sarif_file : semgrep.sarif
3333
34- # Scan complet sur push main et releases (thorough)
3534 semgrep-full :
3635 name : Semgrep SAST (full)
37- if : github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'workflow_dispatch'
36+ if : github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request'
3837 runs-on : ubuntu-latest
3938 container :
4039 image : semgrep/semgrep
4140 steps :
4241 - uses : actions/checkout@v4
4342 - name : Run Semgrep (full scan)
4443 run : semgrep scan --config auto --sarif --output semgrep.sarif
45- # 👆 "scan" au lieu de "ci" = scan complet, pas de diff
4644 env :
4745 SEMGREP_APP_TOKEN : ${{ secrets.SEMGREP_APP_TOKEN }}
48- - uses : github/codeql-action/upload-sarif@v3
46+ - uses : github/codeql-action/upload-sarif@v4
4947 if : always()
5048 with :
5149 sarif_file : semgrep.sarif
You can’t perform that action at this time.
0 commit comments