diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index c64d636e3..e7f718df8 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -66,11 +66,9 @@ jobs: with: go-version: ${{ inputs.go-version || '>=1.21.0' }} cache: false - - name: Fetch a CodeQL bundle - env: - CODEQL_URL: ${{ steps.prepare-test.outputs.tools-url }} + - name: Fetch latest CodeQL bundle run: | - wget "$CODEQL_URL" + wget https://github.com/github/codeql-action/releases/latest/download/codeql-bundle-linux64.tar.zst - id: init uses: ./../action/init with: diff --git a/pr-checks/checks/test-local-codeql.yml b/pr-checks/checks/test-local-codeql.yml index 000655ebd..1e41e5dd3 100644 --- a/pr-checks/checks/test-local-codeql.yml +++ b/pr-checks/checks/test-local-codeql.yml @@ -4,11 +4,9 @@ versions: ["linked"] operatingSystems: ["ubuntu"] installGo: true steps: - - name: Fetch a CodeQL bundle - env: - CODEQL_URL: ${{ steps.prepare-test.outputs.tools-url }} + - name: Fetch latest CodeQL bundle run: | - wget "$CODEQL_URL" + wget https://github.com/github/codeql-action/releases/latest/download/codeql-bundle-linux64.tar.zst - id: init uses: ./../action/init with: