diff --git a/.github/workflows/target-image-sync.yml b/.github/workflows/target-image-sync.yml
index 7ee4397..4e22268 100644
--- a/.github/workflows/target-image-sync.yml
+++ b/.github/workflows/target-image-sync.yml
@@ -42,6 +42,7 @@ jobs:
fi
if ! ./hack/verify-allows.sh ./allows.txt "${ORIGIN_IMAGE}"; then
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 不在白名单列表里, 将不再支持同步和访问
将其添加到[白名单](https://github.com/${{ github.repository }}/issues/2328"
+ exit 1
fi
- name: Check Image
diff --git a/.github/workflows/target-sync-image.yml b/.github/workflows/target-sync-image.yml
index 9c4ecfe..3e1a5e0 100644
--- a/.github/workflows/target-sync-image.yml
+++ b/.github/workflows/target-sync-image.yml
@@ -41,6 +41,7 @@ jobs:
fi
if ! ./hack/verify-allows.sh ./allows.txt "${ORIGIN_IMAGE}"; then
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 不在白名单列表里, 将不再支持同步和访问
将其添加到[白名单](https://github.com/${{ github.repository }}/issues/2328"
+ exit 1
fi
echo "image=${ORIGIN_IMAGE}" >> $GITHUB_OUTPUT