File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,36 @@ name: Security Scan
22
33on :
44 push :
5- branches : [ main ]
5+ branches :
6+ - main
67 pull_request :
78 schedule :
89 - cron : ' 0 4 * * 0' # weekly Sunday 04:00 UTC
910
1011jobs :
1112 codeql :
12- uses : github/codeql-action/.github/workflows/codeql.yml@v3
13+ name : Perform CodeQL Analysis
14+ runs-on : ubuntu-latest
15+ permissions :
16+ actions : read
17+ security-events : write
18+
19+ strategy :
20+ matrix :
21+ # pick the languages you use; here we scan JavaScript and Python
22+ language : [ 'javascript', 'python' ]
23+
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v4
27+
28+ - name : Initialize CodeQL
29+ uses : github/codeql-action/init@v3
30+ with :
31+ languages : ${{ matrix.language }}
32+
33+ - name : Autobuild
34+ uses : github/codeql-action/autobuild@v3
35+
36+ - name : Run CodeQL analysis
37+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments