File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ # For most projects, this workflow file will not need changing; you simply need
2+ # to commit it to your repository.
3+ #
4+ # You may wish to alter this file to override the set of languages analyzed,
5+ # or to provide custom queries or build logic.
6+ #
7+ # ******** NOTE ********
8+ # We have attempted to detect the languages in your repository. Please check
9+ # the `language` matrix defined below to confirm you have the correct set of
10+ # supported CodeQL languages.
11+ #
12+ name : " CodeQL Advanced"
13+
14+ on :
15+ push :
16+ branches : [ "main" ]
17+ pull_request :
18+ branches : [ "main" ]
19+ schedule :
20+ - cron : ' 35 20 * * 0'
21+
22+ jobs :
23+ analyze :
24+ name : Analyze (${{ matrix.language }})
25+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
26+ permissions :
27+ # required for all workflows
28+ security-events : write
29+
30+ # required to fetch internal or private CodeQL packs
31+ packages : read
32+
33+ # only required for workflows in private repositories
34+ actions : read
35+ contents : read
36+
37+ strategy :
38+ fail-fast : false
39+ matrix :
40+ include :
41+ - language : actions
42+ build-mode : none
43+ - language : c-cpp
44+ build-mode : none
45+ - language : csharp
46+ build-mode : none
47+ - language : javascript-typescript
48+ build-mode : none
49+ steps :
50+ - name : Checkout repository
51+ uses : actions/checkout@v5
52+
53+ # Initializes the CodeQL tools for scanning.
54+ - name : Initialize CodeQL
55+ uses : github/codeql-action/init@v4
56+ with :
57+ languages : ${{ matrix.language }}
58+ build-mode : ${{ matrix.build-mode }}
59+ config : |
60+ paths-ignore:
61+ - '**/*Test{,s}/*.cs'
62+
63+ - name : Perform CodeQL Analysis
64+ uses : github/codeql-action/analyze@v4
65+ with :
66+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments