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+ # CodeQL advanced setup. Replaces default-setup once disabled in repo settings.
2+ # Advanced unlocks paths-ignore (skip generated proto stubs) and workflow pinning.
3+ name : CodeQL
4+
5+ on :
6+ pull_request :
7+ branches : [main]
8+ paths-ignore :
9+ - " sdk/src/opendecree/_generated/**"
10+ - " **/*.md"
11+ push :
12+ branches : [main]
13+ schedule :
14+ - cron : " 33 7 * * 1"
15+
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
18+ cancel-in-progress : true
19+
20+ permissions :
21+ contents : read
22+
23+ jobs :
24+ analyze :
25+ name : Analyze (${{ matrix.language }})
26+ runs-on : ubuntu-latest
27+ timeout-minutes : 15
28+ permissions :
29+ security-events : write
30+ packages : read
31+ actions : read
32+ contents : read
33+
34+ strategy :
35+ fail-fast : false
36+ matrix :
37+ include :
38+ - language : actions
39+ build-mode : none
40+ - language : python
41+ build-mode : none
42+
43+ steps :
44+ - name : Checkout
45+ uses : actions/checkout@v6
46+ with :
47+ persist-credentials : false
48+
49+ - name : Initialize CodeQL
50+ uses : github/codeql-action/init@v3
51+ with :
52+ languages : ${{ matrix.language }}
53+ build-mode : ${{ matrix.build-mode }}
54+ config : |
55+ paths-ignore:
56+ - sdk/src/opendecree/_generated/**
57+
58+ - name : Analyze
59+ uses : github/codeql-action/analyze@v3
60+ with :
61+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments