1111 - main
1212 - release-*
1313 schedule :
14- - cron : ' 39 13 * * 6'
14+ - cron : " 39 13 * * 6"
1515
1616concurrency :
1717 group : ${{ github.ref_name }}-codeql
1818 cancel-in-progress : true
1919
20- permissions : # added using https://github.com/step-security/secure-workflows
20+ permissions :
2121 contents : read
2222
2323jobs :
2424 analyze :
2525 name : Analyze
26- runs-on : ubuntu-latest
26+ runs-on : ubuntu-22.04
2727 permissions :
2828 actions : read
2929 contents : read
@@ -32,39 +32,39 @@ jobs:
3232 strategy :
3333 fail-fast : false
3434 matrix :
35- language : [ 'go', ' javascript' ]
35+ language : ["go", " javascript" ]
3636 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737 # Learn more about CodeQL language support at https://git.io/codeql-language-support
3838
3939 steps :
40- - name : Checkout repository
41- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
40+ - name : Checkout repository
41+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
4242
43- # Initializes the CodeQL tools for scanning.
44- - name : Initialize CodeQL
45- uses : github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
46- with :
47- languages : ${{ matrix.language }}
48- # If you wish to specify custom queries, you can do so here or in a config file.
49- # By default, queries listed here will override any specified in a config file.
50- # Prefix the list here with "+" to use these queries and those in the config file.
51- # queries: ./path/to/local/query, your-org/your-repo/queries@main
43+ # Initializes the CodeQL tools for scanning.
44+ - name : Initialize CodeQL
45+ uses : github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
46+ with :
47+ languages : ${{ matrix.language }}
48+ # If you wish to specify custom queries, you can do so here or in a config file.
49+ # By default, queries listed here will override any specified in a config file.
50+ # Prefix the list here with "+" to use these queries and those in the config file.
51+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
5252
53- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54- # If this step fails, then you should remove it and run the build manually (see below)
55- - name : Autobuild
56- uses : github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
53+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+ # If this step fails, then you should remove it and run the build manually (see below)
55+ - name : Autobuild
56+ uses : github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
5757
58- # ℹ️ Command-line programs to run using the OS shell.
59- # 📚 https://git.io/JvXDl
58+ # ℹ️ Command-line programs to run using the OS shell.
59+ # 📚 https://git.io/JvXDl
6060
61- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62- # and modify them (or add more) to build your code if your project
63- # uses a compiled language
61+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62+ # and modify them (or add more) to build your code if your project
63+ # uses a compiled language
6464
65- # - run: |
66- # make bootstrap
67- # make release
65+ # - run: |
66+ # make bootstrap
67+ # make release
6868
69- - name : Perform CodeQL Analysis
70- uses : github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
69+ - name : Perform CodeQL Analysis
70+ uses : github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
0 commit comments