Skip to content

Commit cd823d7

Browse files
committed
add git info to the checkout
1 parent 52a9d53 commit cd823d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ql-for-ql-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
### Build the queries ###
2424
- uses: actions/checkout@v3
25+
with:
26+
fetch-depth: 0
2527
- name: Find codeql
2628
id: find-codeql
2729
uses: github/codeql-action/init@v2
@@ -59,7 +61,7 @@ jobs:
5961
key: run-ql-for-ql
6062
- name: Make database and analyze
6163
run: |
62-
./ql/target/release/buramu > deprecated.blame # Add a blame file for the extractor to parse.
64+
./ql/target/release/buramu | tee deprecated.blame # Add a blame file for the extractor to parse.
6365
${CODEQL} database create -l=ql --search-path ql/extractor-pack ${DB}
6466
${CODEQL} database analyze -j0 --format=sarif-latest --output=ql-for-ql.sarif ${DB} ql/ql/src/codeql-suites/ql-code-scanning.qls --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
6567
env:

0 commit comments

Comments
 (0)