File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Psalm Security Scan
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ # The branches below must be a subset of the branches above
8+ branches : [ "master" ]
9+ schedule :
10+ - cron : ' 31 10 * * 6'
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ php-security :
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : read # for actions/checkout to fetch code
20+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
21+ actions : read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v6
26+
27+ - name : Psalm Security Scan
28+ uses : psalm/psalm-github-security-scan@f3e6fd9432bc3e44aec078572677ce9d2ef9c287
29+
30+ - name : Upload Security Analysis results to GitHub
31+ uses : github/codeql-action/upload-sarif@v3
32+ with :
33+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments