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 : ' 32 13 * * 1'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (${{ matrix.language }})
14+ runs-on : ' ubuntu-latest'
15+ permissions :
16+ security-events : write
17+ # required to fetch internal or private CodeQL packs
18+ packages : read
19+
20+ strategy :
21+ fail-fast : false
22+ matrix :
23+ include :
24+ - language : actions
25+ build-mode : none
26+
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@v6
30+
31+ - name : Initialize CodeQL
32+ uses : github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
33+ with :
34+ languages : ${{ matrix.language }}
35+ build-mode : ${{ matrix.build-mode }}
36+ # Disable TRAP caching - it creates a new cache per commit SHA which
37+ # is never reused, causing wasted cache space.
38+ # See: https://github.com/github/codeql-action/issues/2030
39+ trap-caching : false
40+
41+ - name : Perform CodeQL Analysis
42+ uses : github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
43+ with :
44+ category : ' /language:${{matrix.language}}'
You can’t perform that action at this time.
0 commit comments