File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,18 @@ jobs:
38
38
- name : Fetch CodeQL
39
39
env :
40
40
GITHUB_TOKEN : ${{ github.token }}
41
+ RUNNER_TEMP : ${{ runner.temp }}
41
42
run : |
43
+ cd $RUNNER_TEMP
42
44
gh release download "v${CODEQL_CLI_VERSION}" --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip
43
45
unzip -q codeql-linux64.zip
44
46
45
47
- name : Update CodeQL formatting based on new CLI version
48
+ env :
49
+ RUNNER_TEMP : ${{ runner.temp }}
46
50
run : |
47
- find cpp -name '*.ql' -or -name '*.qll' | xargs --max-procs "$XARGS_MAX_PROCS" --max-args 1 codeql/codeql query format --in-place
48
- find c -name '*.ql' -or -name '*.qll' | xargs --max-procs "$XARGS_MAX_PROCS" --max-args 1 codeql/codeql query format --in-place
51
+ find cpp -name '*.ql' -or -name '*.qll' | xargs --max-procs "$XARGS_MAX_PROCS" --max-args 1 $RUNNER_TEMP/ codeql/codeql query format --in-place
52
+ find c -name '*.ql' -or -name '*.qll' | xargs --max-procs "$XARGS_MAX_PROCS" --max-args 1 $RUNNER_TEMP/ codeql/codeql query format --in-place
49
53
50
54
- name : Create Pull Request
51
55
uses : peter-evans/create-pull-request@v3
You can’t perform that action at this time.
0 commit comments