1
-
2
- name : " CodeQL"
1
+ name : ' CodeQL'
3
2
4
3
on :
5
4
push :
6
- branches : [ develop ]
5
+ branches : [develop]
7
6
pull_request :
8
7
# The branches below must be a subset of the branches above
9
- branches : [ develop ]
8
+ branches : [develop]
10
9
types :
11
10
- opened
12
11
- synchronize
@@ -24,40 +23,40 @@ jobs:
24
23
strategy :
25
24
fail-fast : false
26
25
matrix :
27
- language : [ 'javascript' ]
26
+ language : ['javascript']
28
27
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
29
28
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
30
29
31
30
steps :
32
- - name : Checkout repository
33
- uses : actions/checkout@v3
34
-
35
- # Initializes the CodeQL tools for scanning.
36
- - name : Initialize CodeQL
37
- uses : github/codeql-action/init@v2
38
- with :
39
- config-file : ./.github/codeql/codeql-config.yml
40
- languages : ${{ matrix.language }}
41
- # If you wish to specify custom queries, you can do so here or in a config file.
42
- # By default, queries listed here will override any specified in a config file.
43
- # Prefix the list here with "+" to use these queries and those in the config file.
44
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
45
-
46
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
47
- # If this step fails, then you should remove it and run the build manually (see below)
48
- - name : Autobuild
49
- uses : github/codeql-action/autobuild@v2
50
-
51
- # ℹ️ Command-line programs to run using the OS shell.
52
- # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
53
-
54
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
55
- # and modify them (or add more) to build your code if your project
56
- # uses a compiled language
57
-
58
- # - run: |
59
- # make bootstrap
60
- # make release
61
-
62
- - name : Perform CodeQL Analysis
63
- uses : github/codeql-action/analyze@v2
31
+ - name : Checkout repository
32
+ uses : actions/checkout@v3
33
+
34
+ # Initializes the CodeQL tools for scanning.
35
+ - name : Initialize CodeQL
36
+ uses : github/codeql-action/init@v2
37
+ with :
38
+ config-file : ./.github/codeql/codeql-config.yml
39
+ languages : ${{ matrix.language }}
40
+ # If you wish to specify custom queries, you can do so here or in a config file.
41
+ # By default, queries listed here will override any specified in a config file.
42
+ # Prefix the list here with "+" to use these queries and those in the config file.
43
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
44
+
45
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
46
+ # If this step fails, then you should remove it and run the build manually (see below)
47
+ - name : Autobuild
48
+ uses : github/codeql-action/autobuild@v2
49
+
50
+ # ℹ️ Command-line programs to run using the OS shell.
51
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
52
+
53
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
54
+ # and modify them (or add more) to build your code if your project
55
+ # uses a compiled language
56
+
57
+ # - run: |
58
+ # make bootstrap
59
+ # make release
60
+
61
+ - name : Perform CodeQL Analysis
62
+ uses : github/codeql-action/analyze@v2
0 commit comments