diff --git a/review/action.yml b/review/action.yml index c43f5ee..feadadc 100644 --- a/review/action.yml +++ b/review/action.yml @@ -58,7 +58,8 @@ runs: SCANNER=${{ inputs.scanner }} COMMIT_HASH=$(git rev-parse $GITHUB_HEAD_REF) PR_NUMBER=${{ github.event.pull_request.number }} - OUT=$(npx --yes mobbdev@latest review -r $REPO --ref $GITHUB_HEAD_REF --ch $COMMIT_HASH --api-key ${{ inputs.api-key }} -f ${{ inputs.report-file }} --pr $PR_NUMBER --github-token ${{ inputs.github-token }} --scanner $SCANNER -p .) + VUL_FILE_PATH=results/$(basename ${{ inputs.report-file }}) + OUT=$(npx --yes mobbdev@latest review -r $REPO --ref $GITHUB_HEAD_REF --ch $COMMIT_HASH --api-key ${{ inputs.api-key }} -f $VUL_FILE_PATH --pr $PR_NUMBER --github-token ${{ inputs.github-token }} --scanner $SCANNER -p .) RETVAL=$? if [ $RETVAL -ne 0 ]; then exit $RETVAL