@@ -8,14 +8,14 @@ name: "CodeQL"
88
99on :
1010 push :
11- branches : [ master ]
11+ branches : [master]
1212 pull_request :
1313 # The branches below must be a subset of the branches above
14- branches : [ master ]
14+ branches : [master]
1515 schedule :
1616 # At 04:35 AM, every 3 days
1717 # test expression on https://crontab.cronhub.io/
18- - cron : ' 35 4 */3 * *'
18+ - cron : " 35 4 */3 * *"
1919
2020 workflow_dispatch :
2121
2828 - uses : actions/checkout@v2
2929 - uses : actions/setup-node@v2
3030 with :
31- node-version : ' 14 '
31+ node-version : " 20 "
3232
3333 - name : Install deps
3434 run : npm install
@@ -47,40 +47,40 @@ jobs:
4747 strategy :
4848 fail-fast : false
4949 matrix :
50- language : [ ' javascript', ' TypeScript' ]
50+ language : [" javascript", " TypeScript" ]
5151 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
5252 # Learn more:
5353 # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
5454
5555 steps :
56- - name : Checkout repository
57- uses : actions/checkout@v2
56+ - name : Checkout repository
57+ uses : actions/checkout@v2
5858
59- # Initializes the CodeQL tools for scanning.
60- - name : Initialize CodeQL
61- uses : github/codeql-action/init@v1
62- with :
63- languages : ${{ matrix.language }}
64- # If you wish to specify custom queries, you can do so here or in a config file.
65- # By default, queries listed here will override any specified in a config file.
66- # Prefix the list here with "+" to use these queries and those in the config file.
67- # queries: ./path/to/local/query, your-org/your-repo/queries@main
59+ # Initializes the CodeQL tools for scanning.
60+ - name : Initialize CodeQL
61+ uses : github/codeql-action/init@v1
62+ with :
63+ languages : ${{ matrix.language }}
64+ # If you wish to specify custom queries, you can do so here or in a config file.
65+ # By default, queries listed here will override any specified in a config file.
66+ # Prefix the list here with "+" to use these queries and those in the config file.
67+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
6868
69- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
70- # If this step fails, then you should remove it and run the build manually (see below)
71- - name : Autobuild
72- uses : github/codeql-action/autobuild@v1
69+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
70+ # If this step fails, then you should remove it and run the build manually (see below)
71+ - name : Autobuild
72+ uses : github/codeql-action/autobuild@v1
7373
74- # ℹ️ Command-line programs to run using the OS shell.
75- # 📚 https://git.io/JvXDl
74+ # ℹ️ Command-line programs to run using the OS shell.
75+ # 📚 https://git.io/JvXDl
7676
77- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
78- # and modify them (or add more) to build your code if your project
79- # uses a compiled language
77+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
78+ # and modify them (or add more) to build your code if your project
79+ # uses a compiled language
8080
81- # - run: |
82- # make bootstrap
83- # make release
81+ # - run: |
82+ # make bootstrap
83+ # make release
8484
85- - name : Perform CodeQL Analysis
86- uses : github/codeql-action/analyze@v1
85+ - name : Perform CodeQL Analysis
86+ uses : github/codeql-action/analyze@v1
0 commit comments