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 : " CodeQL Advanced"
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+ schedule :
9+ - cron : ' 42 1 * * 5'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (${{ matrix.language }})
14+ runs-on : ubuntu-24.04
15+ permissions :
16+ # required for all workflows
17+ security-events : write
18+
19+ # required to fetch internal or private CodeQL packs
20+ packages : read
21+
22+ # only required for workflows in private repositories
23+ actions : read
24+ contents : read
25+
26+ strategy :
27+ fail-fast : false
28+ matrix :
29+ include :
30+ - language : java-kotlin
31+ build-mode : none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
32+
33+ steps :
34+ - name : Checkout repository
35+ uses : actions/checkout@v7
36+
37+ # Initializes the CodeQL tools for scanning.
38+ - name : Initialize CodeQL
39+ uses : github/codeql-action/init@v4
40+ with :
41+ languages : ${{ matrix.language }}
42+ build-mode : ${{ matrix.build-mode }}
43+ queries : security-and-quality
44+
45+ - name : Perform CodeQL Analysis
46+ uses : github/codeql-action/analyze@v4
47+ with :
48+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments