File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,10 @@ runs:
100
100
DIKTAT_ARGS=('--config' '${{ inputs.config }}' '--reporter' '${{ inputs.reporter }}')
101
101
if [[ '${{ inputs.reporter }}' == 'sarif' ]]
102
102
then
103
- DIKTAT_ARGS+=('--output' " ${GITHUB_WORKSPACE}/report.sarif" )
103
+ DIKTAT_ARGS+=('--output' ' ${GITHUB_WORKSPACE}/report.sarif' )
104
104
elif [[ '${{ inputs.reporter }}' == 'checkstyle' ]]
105
105
then
106
- DIKTAT_ARGS+=('--output' " ${GITHUB_WORKSPACE}/checkstyle-report.xml" )
106
+ DIKTAT_ARGS+=('--output' ' ${GITHUB_WORKSPACE}/checkstyle-report.xml' )
107
107
else
108
108
echo "`reporter` should be set to `sarif` or `checkstyle`"
109
109
exit 1
@@ -179,7 +179,7 @@ runs:
179
179
if : ${{ always() && steps.diktat.outputs.exit-code == 1 && inputs.reporter == 'sarif' }}
180
180
uses : github/codeql-action/upload-sarif@v3
181
181
with :
182
- sarif_file : ${GITHUB_WORKSPACE}
182
+ sarif_file : ${{ github.workspace }}/report.sarif
183
183
184
184
# Alternatively, when in Checkstyle reporting mode, upload Checkstyle XML
185
185
# using `reviewdog`.
You can’t perform that action at this time.
0 commit comments