File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ # .github/workflows/security-scan.yml
2+
13name : Security Scan
24
35on :
46 push :
57 branches :
68 - main
79 pull_request :
10+ branches :
11+ - main
812 schedule :
9- - cron : ' 0 4 * * 0' # weekly Sunday 04:00 UTC
13+ - cron : ' 0 4 * * 0' # weekly Sunday 04:00 UTC
14+
15+ permissions :
16+ contents : read # allow reading repository contents
17+ security-events : write # allow uploading CodeQL alerts
1018
1119jobs :
1220 codeql :
1321 name : Perform CodeQL Analysis
1422 runs-on : ubuntu-latest
15- permissions :
16- actions : read
17- security-events : write
1823
1924 strategy :
2025 matrix :
21- # pick the languages you use; here we scan JavaScript and Python
22- language : [ 'javascript', 'python' ]
26+ language : [ 'javascript', 'python' ] # scan these languages
2327
2428 steps :
2529 - name : Checkout repository
You can’t perform that action at this time.
0 commit comments