We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1502e commit 6c9cbe7Copy full SHA for 6c9cbe7
.github/workflows/update-codeql.yml
@@ -24,7 +24,7 @@ jobs:
24
run: |
25
echo "Checking latest CodeQL CLI version"
26
current_version=$(jq .CodeQLCLI qlt.conf.json -r)
27
- latest_version=$(curl -s https://api.github.com/repos/github/codeql-cli-binaries/releases/latest | jq -r .tag_name)
+ latest_version=$(gh release list --repo github/codeql-cli-binaries --json 'tagName,isLatest' --jq '.[] | select(.isLatest == true) | .tagName')
28
echo "Current CodeQL CLI version: $current_version"
29
echo "Latest CodeQL CLI version: $latest_version"
30
0 commit comments