From 13a996e2920d380b7ec361d1c71abe395d1a1afc Mon Sep 17 00:00:00 2001 From: shishupei Date: Tue, 17 Dec 2024 19:50:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=95=9C=E5=83=8F=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=EF=BC=8C=E9=80=9A=E8=BF=87=E8=AF=84=E8=AE=BA=E8=A7=A6?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/scan-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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