diff --git a/.github/workflows/scan-image.yml b/.github/workflows/scan-image.yml index 3c27623..ff18f9f 100644 --- a/.github/workflows/scan-image.yml +++ b/.github/workflows/scan-image.yml @@ -36,7 +36,7 @@ jobs: IMAGE_URL="${COMMENT_BODY#$PREFIX}" echo "Prefix matched. Running script with parameter: $IMAGE_URL" - ./.github/script/scan_image.sh $GITHUB_HEAD_REF ${{ github.event.pull_request.number }} ${{ secrets.CODEARTS_PASSWORD }} ${{ secrets.CODEARTS_SCAN_IMAGE_PIPELINE }} ${{ secrets.CODEARTS_ENDPOINT_ID }} $GIT_URL ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY##*/} "$IMAGE_URL" + ./.github/script/scan_image.sh $GITHUB_HEAD_REF ${{ github.event.issue.number }} ${{ secrets.CODEARTS_PASSWORD }} ${{ secrets.CODEARTS_SCAN_IMAGE_PIPELINE }} ${{ secrets.CODEARTS_ENDPOINT_ID }} $GIT_URL ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY##*/} "$IMAGE_URL" else echo "Comment does not match the prefix, skipping the script execution." fi