File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL Advanced"
2+
3+ concurrency :
4+ group : ${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
7+ on :
8+ push :
9+ branches : ["main"]
10+ pull_request :
11+ branches : ["main"]
12+ schedule :
13+ - cron : " 32 13 * * 0"
14+
15+ jobs :
16+ analyze :
17+ name : Analyze (${{ matrix.language }})
18+ # Runner size impacts CodeQL analysis time. To learn more, please see:
19+ # - https://gh.io/recommended-hardware-resources-for-running-codeql
20+ # - https://gh.io/supported-runners-and-hardware-resources
21+ # - https://gh.io/using-larger-runners (GitHub.com only)
22+ # Consider using larger runners or machines with greater resources for possible analysis time improvements.
23+ runs-on : ubuntu-latest
24+ permissions :
25+ # required for all workflows
26+ security-events : write
27+
28+ # required to fetch internal or private CodeQL packs
29+ packages : read
30+
31+ strategy :
32+ fail-fast : false
33+ matrix :
34+ include :
35+ - language : actions
36+ build-mode : none
37+ - language : csharp
38+ build-mode : none
39+ steps :
40+ - name : Checkout repository
41+ uses : actions/checkout@v6
42+
43+ # Initializes the CodeQL tools for scanning.
44+ - name : Initialize CodeQL
45+ uses : github/codeql-action/init@v4
46+ with :
47+ languages : ${{ matrix.language }}
48+ build-mode : ${{ matrix.build-mode }}
49+
50+ - name : Perform CodeQL Analysis
51+ uses : github/codeql-action/analyze@v4
52+ with :
53+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments