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:
3838 - name : Fetch CodeQL
3939 env :
4040 GITHUB_TOKEN : ${{ github.token }}
41+ RUNNER_TEMP : ${{ runner.temp }}
4142 run : |
43+ cd $RUNNER_TEMP
4244 gh release download "v${CODEQL_CLI_VERSION}" --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip
4345 unzip -q codeql-linux64.zip
4446
4547 - name : Update CodeQL formatting based on new CLI version
48+ env :
49+ RUNNER_TEMP : ${{ runner.temp }}
4650 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
4953
5054 - name : Create Pull Request
5155 uses : peter-evans/create-pull-request@v3
You can’t perform that action at this time.
0 commit comments