Skip to content

Commit

Permalink
🐛 Fix MOBB-2240 - Add support for vul file with/no path
Browse files Browse the repository at this point in the history
  • Loading branch information
yhaggai committed Sep 11, 2024
1 parent 0ddacde commit f6a1ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6a1ec0

Please sign in to comment.