99# the `language` matrix defined below to confirm you have the correct set of
1010# supported CodeQL languages.
1111#
12- name : " CodeQL"
12+ name : ' CodeQL'
1313
1414on :
1515 push :
16- branches : [ main, release/* ]
16+ branches : [main, release/*, next/fluentui, next/mgt-chat ]
1717 pull_request :
1818 # The branches below must be a subset of the branches above
19- branches : [ main, release/* ]
19+ branches : [main, release/*, next/fluentui, next/mgt-chat ]
2020 schedule :
2121 - cron : ' 29 20 * * 1'
2222
@@ -28,40 +28,40 @@ jobs:
2828 strategy :
2929 fail-fast : false
3030 matrix :
31- language : [ 'javascript' ]
31+ language : ['javascript']
3232 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3333 # Learn more:
3434 # 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
3535
3636 steps :
37- - name : Checkout repository
38- uses : actions/checkout@v2
37+ - name : Checkout repository
38+ uses : actions/checkout@v2
3939
40- # Initializes the CodeQL tools for scanning.
41- - name : Initialize CodeQL
42- uses : github/codeql-action/init@v1
43- with :
44- languages : ${{ matrix.language }}
45- # If you wish to specify custom queries, you can do so here or in a config file.
46- # By default, queries listed here will override any specified in a config file.
47- # Prefix the list here with "+" to use these queries and those in the config file.
48- # queries: ./path/to/local/query, your-org/your-repo/queries@main
40+ # Initializes the CodeQL tools for scanning.
41+ - name : Initialize CodeQL
42+ uses : github/codeql-action/init@v2
43+ with :
44+ languages : ${{ matrix.language }}
45+ # If you wish to specify custom queries, you can do so here or in a config file.
46+ # By default, queries listed here will override any specified in a config file.
47+ # Prefix the list here with "+" to use these queries and those in the config file.
48+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
4949
50- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
51- # If this step fails, then you should remove it and run the build manually (see below)
52- - name : Autobuild
53- uses : github/codeql-action/autobuild@v1
50+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
51+ # If this step fails, then you should remove it and run the build manually (see below)
52+ - name : Autobuild
53+ uses : github/codeql-action/autobuild@v2
5454
55- # ℹ️ Command-line programs to run using the OS shell.
56- # 📚 https://git.io/JvXDl
55+ # ℹ️ Command-line programs to run using the OS shell.
56+ # 📚 https://git.io/JvXDl
5757
58- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
59- # and modify them (or add more) to build your code if your project
60- # uses a compiled language
58+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
59+ # and modify them (or add more) to build your code if your project
60+ # uses a compiled language
6161
62- # - run: |
63- # make bootstrap
64- # make release
62+ # - run: |
63+ # make bootstrap
64+ # make release
6565
66- - name : Perform CodeQL Analysis
67- uses : github/codeql-action/analyze@v1
66+ - name : Perform CodeQL Analysis
67+ uses : github/codeql-action/analyze@v2
0 commit comments