11name : " CodeQL"
22
3- on :
3+ on : # yamllint disable-line rule:truthy
44 push :
5- branches : [ master, release ]
5+ branches : [master, release]
66 pull_request :
77 # The branches below must be a subset of the branches above
8- branches : [ master ]
8+ branches : [master]
99
1010# Default permissions for all jobs
1111permissions : {}
@@ -22,33 +22,33 @@ jobs:
2222 strategy :
2323 fail-fast : false
2424 matrix :
25- language : [ 'ruby' ]
25+ language : ['ruby']
2626 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
2727 # Learn more about CodeQL language support at https://git.io/codeql-language-support
2828
2929 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
5252
5353 complete :
5454 name : CodeQL (complete)
0 commit comments