From a7f1a546e51b732f191bc221c1fc812e58247c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=95=86=E9=99=B6?= Date: Sat, 21 Mar 2026 21:56:57 +0800 Subject: [PATCH] fix: remove label parameters from issue creation to avoid failures --- .github/workflows/sync-and-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-and-build.yml b/.github/workflows/sync-and-build.yml index 21863d3730..cb51efd903 100644 --- a/.github/workflows/sync-and-build.yml +++ b/.github/workflows/sync-and-build.yml @@ -181,9 +181,9 @@ jobs: ISSUE_NUMBER="$(gh issue list --label "$CONFLICT_LABEL" --state open --json number --jq '.[0].number' || true)" if [ -n "$ISSUE_NUMBER" ] && [ "$ISSUE_NUMBER" != "null" ]; then - gh issue edit "$ISSUE_NUMBER" --title "$CONFLICT_TITLE" --body-file "$BODY_FILE" --add-label automation --add-label upstream-sync --add-label "$CONFLICT_LABEL" + gh issue edit "$ISSUE_NUMBER" --title "$CONFLICT_TITLE" --body-file "$BODY_FILE" else - gh issue create --title "$CONFLICT_TITLE" --body-file "$BODY_FILE" --label automation --label upstream-sync --label "$CONFLICT_LABEL" + gh issue create --title "$CONFLICT_TITLE" --body-file "$BODY_FILE" fi - name: Stop on merge conflict