This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL config"
2
+
3
+ queries :
4
+ - uses : security-and-quality
Original file line number Diff line number Diff line change
1
+ name : " Code scanning - action"
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ schedule :
7
+ - cron : " 0 1 * * 2"
8
+
9
+ jobs :
10
+ CodeQL-Build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout repository
15
+ uses : actions/checkout@v2
16
+ with :
17
+ # We must fetch at least the immediate parents so that if this is
18
+ # a pull request then we can checkout the head.
19
+ fetch-depth : 2
20
+
21
+ # If this run was triggered by a pull request event, then checkout
22
+ # the head of the pull request instead of the merge commit.
23
+ - run : git checkout HEAD^2
24
+ if : ${{ github.event_name == 'pull_request' }}
25
+
26
+ # Initializes the CodeQL tools for scanning.
27
+ - name : Initialize CodeQL
28
+ uses : github/codeql-action/init@v1
29
+ with :
30
+ languages : go
31
+ config-file : ./.github/codeql/codeql-config.yml
32
+
33
+ # ℹ️ Command-line programs to run using the OS shell.
34
+ # 📚 https://git.io/JvXDl
35
+
36
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
37
+ # and modify them (or add more) to build your code if your project
38
+ # uses a compiled language
39
+
40
+ # - run: |
41
+ # make bootstrap
42
+ # make release
43
+
44
+ - name : Perform CodeQL Analysis
45
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments