Aleksandar Ivanov commited on
Commit
66ed3e4
·
1 Parent(s): dc64e31

Add CodeQL Analysis

Browse files
.github/workflows/codeql-analysis.yml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: CodeQL Analysis
2
+
3
+ on:
4
+ push:
5
+ # ignore dependabot branches on push -> https://github.com/microsoft/binskim/issues/425#issuecomment-893373709
6
+ branches-ignore:
7
+ - 'dependabot/**'
8
+ pull_request:
9
+ schedule:
10
+ - cron: '0 8 * * *'
11
+ workflow_dispatch:
12
+
13
+ jobs:
14
+ analyze:
15
+ name: Analyze
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v2
20
+
21
+ - name: Initialize CodeQL
22
+ uses: github/codeql-action/init@v1
23
+ with:
24
+ languages: python
25
+
26
+ - name: Perform CodeQL Analysis
27
+ uses: github/codeql-action/analyze@v1
28
+
29
+ # Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)