File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed
Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ paths-ignore :
2+ - " example/**"
Original file line number Diff line number Diff line change 1+ name : " CodeQL"
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 : " 37 19 * * 0"
14+
15+ jobs :
16+ analyze :
17+ name : Analyze
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
22+ # Consider using larger runners 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 : java
38+ build-mode : none
39+ dependency-caching : true
40+ # Not analyzing .m (Objective-C) & .h (Objective-C header) files for now unless CodeQL supports it in the future
41+
42+ steps :
43+ - name : Checkout repository
44+ uses : actions/checkout@v6
45+
46+ # Initializes the CodeQL tools for scanning.
47+ - name : Initialize CodeQL
48+ uses : github/codeql-action/init@v4
49+ with :
50+ dependency-caching : ${{ matrix.dependency-caching }}
51+ languages : ${{ matrix.language }}
52+ build-mode : ${{ matrix.build-mode }}
53+ config-file : ./.github/codeql-config.yml
54+
55+ - name : Perform CodeQL Analysis
56+ uses : github/codeql-action/analyze@v4
57+ with :
58+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments