File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3+ name : CodeQL
4+
5+ " on " :
6+ workflow_dispatch :
7+ push :
8+ branches : [ "main" ]
9+ pull_request :
10+ branches : [ "main" ]
11+ schedule :
12+ - cron : ' 44 4 * * 1'
13+
14+ permissions : {}
15+
16+ jobs :
17+ analyze :
18+ name : Analyze (${{ matrix.language }})
19+ # Consider using larger runners or machines with greater resources for possible analysis time improvements.
20+ runs-on : ubuntu-24.04
21+ permissions :
22+ security-events : write # integrate with Github Advanced Security
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ include :
28+ - language : actions
29+ build-mode : none
30+ - language : java
31+ build-mode : none
32+ - language : python
33+ build-mode : none
34+ steps :
35+ - name : Checkout repository
36+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
37+ with :
38+ persist-credentials : false
39+
40+ - name : Configure tools
41+ uses : ./.github/actions/prepare-for-build
42+
43+ # Initializes the CodeQL tools for scanning.
44+ - name : Initialize CodeQL
45+ uses : github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
46+ with :
47+ languages : ${{ matrix.language }}
48+ build-mode : ${{ matrix.build-mode }}
49+ queries : security-extended
50+
51+ - name : Perform CodeQL Analysis
52+ uses : github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
53+ with :
54+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments