From fd8ddf0a0242fccb3851be92b5f24e5629e5cf32 Mon Sep 17 00:00:00 2001 From: hector <42570491+majinghe@users.noreply.github.com> Date: Sat, 29 Aug 2026 17:33:34 +0800 Subject: [PATCH] fix: remove redundant --repo flag in preview release cleanup (#6847) The check_preview_release_workflow.sh script uses exact line matching (grep -Fxq) to verify the cleanup-preview-releases job contains: gh release delete "$preview_tag" --yes The extra --repo flag is unnecessary in GitHub Actions context since gh auto-detects the repository from GITHUB_REPOSITORY, and it causes the Workflow Pin Report check to fail on all PRs. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51ce23b0f..9dd1c6441 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1065,7 +1065,7 @@ jobs: while IFS= read -r preview_tag; do [[ -n "$preview_tag" ]] || continue echo "🧹 Deleting preview release $preview_tag (tag kept)" - gh release delete "$preview_tag" --repo "${GITHUB_REPOSITORY}" --yes + gh release delete "$preview_tag" --yes DELETED=$((DELETED + 1)) done < <( jq -r --arg tag "$TAG" '