diff --git a/.github/workflows/compile-queries.yml b/.github/workflows/compile-queries.yml index 44e22d367b8..bb451b8a5ef 100644 --- a/.github/workflows/compile-queries.yml +++ b/.github/workflows/compile-queries.yml @@ -41,6 +41,7 @@ jobs: key: codeql-compile-${{ github.ref }}-${{ github.sha }} # just fill on main restore-keys: | # restore from another random commit, to speed up compilation. codeql-compile-${{ github.ref }}- + codeql-compile-refs/heads/main- - name: Setup CodeQL uses: ./.github/actions/fetch-codeql with: