33#
44# You may wish to alter this file to override the set of languages analyzed,
55# 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+ #
612name : " CodeQL"
713
814on :
915 push :
10- branches : [master]
16+ branches : [ master ]
1117 pull_request :
1218 # The branches below must be a subset of the branches above
13- branches : [master]
19+ branches : [ master ]
1420 schedule :
15- - cron : ' 0 19 * * 5 '
21+ - cron : ' 24 8 * * 6 '
1622
1723jobs :
1824 analyze :
@@ -22,32 +28,22 @@ jobs:
2228 strategy :
2329 fail-fast : false
2430 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
3035
3136 steps :
3237 - name : Checkout repository
3338 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' }}
4339
4440 # Initializes the CodeQL tools for scanning.
4541 - name : Initialize CodeQL
4642 uses : github/codeql-action/init@v1
4743 with :
4844 languages : ${{ matrix.language }}
4945 # 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.
5147 # Prefix the list here with "+" to use these queries and those in the config file.
5248 # queries: ./path/to/local/query, your-org/your-repo/queries@main
5349
0 commit comments