9
9
# the `language` matrix defined below to confirm you have the correct set of
10
10
# supported CodeQL languages.
11
11
#
12
- name : " CodeQL"
12
+ name : ' CodeQL'
13
13
14
14
on :
15
15
push :
16
- branches : [ master ]
16
+ branches : [master]
17
17
pull_request :
18
18
# The branches below must be a subset of the branches above
19
- branches : [ master ]
19
+ branches : [master]
20
20
schedule :
21
21
- cron : ' 44 2 * * 6'
22
22
23
23
jobs :
24
-
25
24
stop_previous :
26
25
runs-on : ubuntu-22.04
27
26
steps :
@@ -42,39 +41,39 @@ jobs:
42
41
strategy :
43
42
fail-fast : false
44
43
matrix :
45
- language : [ 'javascript' ]
44
+ language : ['javascript']
46
45
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
47
46
# Learn more about CodeQL language support at https://git.io/codeql-language-support
48
47
49
48
steps :
50
- - name : Checkout repository
51
- uses : actions/checkout@v2
49
+ - name : Checkout repository
50
+ uses : actions/checkout@v2
52
51
53
- # Initializes the CodeQL tools for scanning.
54
- - name : Initialize CodeQL
55
- uses : github/codeql-action/init@v1
56
- with :
57
- languages : ${{ matrix.language }}
58
- # If you wish to specify custom queries, you can do so here or in a config file.
59
- # By default, queries listed here will override any specified in a config file.
60
- # Prefix the list here with "+" to use these queries and those in the config file.
61
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
52
+ # Initializes the CodeQL tools for scanning.
53
+ - name : Initialize CodeQL
54
+ uses : github/codeql-action/init@v1
55
+ with :
56
+ languages : ${{ matrix.language }}
57
+ # If you wish to specify custom queries, you can do so here or in a config file.
58
+ # By default, queries listed here will override any specified in a config file.
59
+ # Prefix the list here with "+" to use these queries and those in the config file.
60
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
62
61
63
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
64
- # If this step fails, then you should remove it and run the build manually (see below)
65
- - name : Autobuild
66
- uses : github/codeql-action/autobuild@v1
62
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
63
+ # If this step fails, then you should remove it and run the build manually (see below)
64
+ - name : Autobuild
65
+ uses : github/codeql-action/autobuild@v1
67
66
68
- # ℹ️ Command-line programs to run using the OS shell.
69
- # 📚 https://git.io/JvXDl
67
+ # ℹ️ Command-line programs to run using the OS shell.
68
+ # 📚 https://git.io/JvXDl
70
69
71
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
72
- # and modify them (or add more) to build your code if your project
73
- # uses a compiled language
70
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
71
+ # and modify them (or add more) to build your code if your project
72
+ # uses a compiled language
74
73
75
- # - run: |
76
- # make bootstrap
77
- # make release
74
+ # - run: |
75
+ # make bootstrap
76
+ # make release
78
77
79
- - name : Perform CodeQL Analysis
80
- uses : github/codeql-action/analyze@v1
78
+ - name : Perform CodeQL Analysis
79
+ uses : github/codeql-action/analyze@v1
0 commit comments