1
1
name : " CodeQL"
2
2
3
- on :
3
+ on : # yamllint disable-line rule:truthy
4
4
push :
5
- branches : [ master, release ]
5
+ branches : [master, release]
6
6
pull_request :
7
7
# The branches below must be a subset of the branches above
8
- branches : [ master ]
8
+ branches : [master]
9
9
10
10
# Default permissions for all jobs
11
11
permissions : {}
@@ -22,33 +22,33 @@ jobs:
22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- language : [ 'ruby' ]
25
+ language : ['ruby']
26
26
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
27
27
# Learn more about CodeQL language support at https://git.io/codeql-language-support
28
28
29
29
steps :
30
- - name : Checkout repository
31
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32
- with :
33
- persist-credentials : false
34
-
35
- # Initializes the CodeQL tools for scanning.
36
- - name : Initialize CodeQL
37
- uses : github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
38
- with :
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
47
- - name : Autobuild
48
- uses : github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
49
-
50
- - name : Perform CodeQL Analysis
51
- uses : github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
30
+ - name : Checkout repository
31
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32
+ with :
33
+ persist-credentials : false
34
+
35
+ # Initializes the CodeQL tools for scanning.
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
38
+ with :
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
47
+ - name : Autobuild
48
+ uses : github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
49
+
50
+ - name : Perform CodeQL Analysis
51
+ uses : github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
52
52
53
53
complete :
54
54
name : CodeQL (complete)
0 commit comments