File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ queries :
2
+ - uses : ./.github/codeql/lgtm.qls
3
+
4
+ paths-ignore :
5
+ - ' test cases'
Original file line number Diff line number Diff line change
1
+ # for some reason this doesn't work by default any way I can see
2
+
3
+ - import: codeql-suites/python-lgtm.qls
4
+ from: codeql/python-queries
Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ analyze :
11
+ # lgtm.com does not run in forks, for good reason
12
+ if : github.repository == 'mesonbuild/meson'
13
+ name : Analyze
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ security-events : write
17
+
18
+ steps :
19
+ - name : Checkout repository
20
+ uses : actions/checkout@v3
21
+
22
+ - name : Initialize CodeQL
23
+ uses : github/codeql-action/init@v2
24
+ with :
25
+ config-file : .github/codeql/codeql-config.yml
26
+ languages : python
27
+ # we have none
28
+ setup-python-dependencies : false
29
+
30
+ - name : Perform CodeQL Analysis
31
+ uses : github/codeql-action/analyze@v2
You can’t perform that action at this time.
0 commit comments