Skip to content

Commit 804ca3e

Browse files
committed
Actions: Fetch CodeQL CLI using gh rather than third-party Action
1 parent 53b26eb commit 804ca3e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/query-list.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,14 @@ jobs:
3030
with:
3131
python-version: 3.8
3232
- name: Download CodeQL CLI
33-
uses: dsaltares/fetch-gh-release-asset@aa37ae5c44d3c9820bc12fe675e8670ecd93bd1c
34-
with:
35-
repo: "github/codeql-cli-binaries"
36-
version: "latest"
37-
file: "codeql-linux64.zip"
38-
token: ${{ secrets.GITHUB_TOKEN }}
33+
uses: ./codeql/.github/actions/fetch-codeql
3934
- name: Unzip CodeQL CLI
4035
run: unzip -d codeql-cli codeql-linux64.zip
4136
- name: Build code scanning query list
4237
run: |
43-
PATH="$PATH:codeql-cli/codeql" python codeql/misc/scripts/generate-code-scanning-query-list.py > code-scanning-query-list.csv
38+
python codeql/misc/scripts/generate-code-scanning-query-list.py > code-scanning-query-list.csv
4439
- name: Upload code scanning query list
4540
uses: actions/upload-artifact@v3
4641
with:
4742
name: code-scanning-query-list
4843
path: code-scanning-query-list.csv
49-

0 commit comments

Comments
 (0)