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- # SPDX-License-Identifier: PMPL-1.0-or-later
2- # CodeQL disabled - no scannable source code detected
1+ # SPDX-License-Identifier: PMPL-1.0
32name : CodeQL Security Analysis
43
54on :
6- workflow_dispatch : # Manual trigger only
5+ push :
6+ branches : [main, master]
7+ pull_request :
8+ branches : [main, master]
9+ schedule :
10+ - cron : ' 0 6 * * 1'
711
812# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
913# updates do not pile up queued runs against the shared account-wide
@@ -17,8 +21,29 @@ permissions:
1721 contents : read
1822
1923jobs :
20- placeholder :
24+ analyze :
2125 runs-on : ubuntu-latest
22- if : false
26+ permissions :
27+ contents : read
28+ security-events : write
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ include :
33+ - language : javascript-typescript
34+ build-mode : none
35+
2336 steps :
24- - run : echo "Enable when source code is added"
37+ - name : Checkout
38+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
39+
40+ - name : Initialize CodeQL
41+ uses : github/codeql-action/init@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
42+ with :
43+ languages : ${{ matrix.language }}
44+ build-mode : ${{ matrix.build-mode }}
45+
46+ - name : Perform CodeQL Analysis
47+ uses : github/codeql-action/analyze@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
48+ with :
49+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments