Skip to content

Commit d45b9dd

Browse files
committed
CI: Pin the codeql checkout to the branch that the CLI is based on.
1 parent d3871a8 commit d45b9dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
if: steps.changes.outputs.src == 'true'
3939
env:
4040
GITHUB_TOKEN: ${{ github.token }}
41+
CODEQL_CLI_VERSION: ${{ env.CODEQL_CLI_VERSION }}
4142
run: |
42-
gh repo clone github/codeql # to make stubs available for tests
43+
gh repo clone github/codeql -- -b codeql-cli-${CODEQL_CLI_VERSION} # to make stubs available for tests
4344
codeql pack download "codeql/${{ matrix.language }}-queries"
4445
codeql pack install "${{ matrix.language }}/lib"
4546
codeql pack install "${{ matrix.language }}/src"

0 commit comments

Comments
 (0)