@@ -13,11 +13,11 @@ name: "CodeQL"
1313
1414on :
1515 push :
16- branches : [ "main" ]
16+ branches : ["main"]
1717 pull_request :
18- branches : [ "main" ]
18+ branches : ["main"]
1919 schedule :
20- - cron : ' 16 8 * * 4'
20+ - cron : ' 16 8 * * 4'
2121
2222jobs :
2323 analyze :
@@ -31,19 +31,19 @@ jobs:
3131 strategy :
3232 fail-fast : false
3333 matrix :
34- language : [ 'python' ]
34+ language : ['python']
3535 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3636 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3737
3838 steps :
39- - name : Checkout repository
40- uses : actions/checkout@v3
39+ - name : Checkout repository
40+ uses : actions/checkout@v3
4141
4242 # Initializes the CodeQL tools for scanning.
43- - name : Initialize CodeQL
44- uses : github/codeql-action/init@v2
45- with :
46- languages : ${{ matrix.language }}
43+ - name : Initialize CodeQL
44+ uses : github/codeql-action/init@v2
45+ with :
46+ languages : ${{ matrix.language }}
4747 # If you wish to specify custom queries, you can do so here or in a config file.
4848 # By default, queries listed here will override any specified in a config file.
4949 # Prefix the list here with "+" to use these queries and those in the config file.
5454
5555 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656 # If this step fails, then you should remove it and run the build manually (see below)
57- - name : Autobuild
58- uses : github/codeql-action/autobuild@v2
57+ - name : Autobuild
58+ uses : github/codeql-action/autobuild@v2
5959
6060 # ℹ️ Command-line programs to run using the OS shell.
6161 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6767 # echo "Run, Build Application using script"
6868 # ./location_of_script_within_repo/buildscript.sh
6969
70- - name : Perform CodeQL Analysis
71- uses : github/codeql-action/analyze@v2
72- with :
73- category : " /language:${{matrix.language}}"
70+ - name : Perform CodeQL Analysis
71+ uses : github/codeql-action/analyze@v2
72+ with :
73+ category : " /language:${{matrix.language}}"
0 commit comments