3
3
#
4
4
# You may wish to alter this file to override the set of languages analyzed,
5
5
# or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
6
12
name : " CodeQL"
7
13
8
14
on :
9
15
push :
10
- branches : [master]
16
+ branches : [ master ]
11
17
pull_request :
12
18
# The branches below must be a subset of the branches above
13
- branches : [master]
19
+ branches : [ master ]
14
20
schedule :
15
- - cron : ' 0 19 * * 5 '
21
+ - cron : ' 24 8 * * 6 '
16
22
17
23
jobs :
18
24
analyze :
@@ -22,32 +28,22 @@ jobs:
22
28
strategy :
23
29
fail-fast : false
24
30
matrix :
25
- # Override automatic language detection by changing the below list
26
- # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
27
- language : ['csharp']
28
- # Learn more...
29
- # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
31
+ language : [ 'csharp' ]
32
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
33
+ # Learn more:
34
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
30
35
31
36
steps :
32
37
- name : Checkout repository
33
38
uses : actions/checkout@v2
34
- with :
35
- # We must fetch at least the immediate parents so that if this is
36
- # a pull request then we can checkout the head.
37
- fetch-depth : 2
38
-
39
- # If this run was triggered by a pull request event, then checkout
40
- # the head of the pull request instead of the merge commit.
41
- - run : git checkout HEAD^2
42
- if : ${{ github.event_name == 'pull_request' }}
43
39
44
40
# Initializes the CodeQL tools for scanning.
45
41
- name : Initialize CodeQL
46
42
uses : github/codeql-action/init@v1
47
43
with :
48
44
languages : ${{ matrix.language }}
49
45
# If you wish to specify custom queries, you can do so here or in a config file.
50
- # By default, queries listed here will override any specified in a config file.
46
+ # By default, queries listed here will override any specified in a config file.
51
47
# Prefix the list here with "+" to use these queries and those in the config file.
52
48
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53
49
0 commit comments