mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
support general base-branches, not just main
This commit is contained in:
4
.github/workflows/compile-queries.yml
vendored
4
.github/workflows/compile-queries.yml
vendored
@@ -38,9 +38,9 @@ jobs:
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: '*/ql/src/.cache'
|
||||
key: codeql-compile-main-${{ github.sha }} # just fill on main
|
||||
key: codeql-compile-${{ github.ref }}-${{ github.sha }} # just fill on main
|
||||
restore-keys: | # restore from another random commit, to speed up compilation.
|
||||
codeql-compile-main-
|
||||
codeql-compile-${{ github.ref }}-
|
||||
- name: Setup CodeQL
|
||||
uses: ./.github/actions/fetch-codeql
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user