From 589c1e77ec02f7cfb5d78d5ffc56d39843e07721 Mon Sep 17 00:00:00 2001 From: Chengzhen Jia Date: Fri, 16 Oct 2026 17:42:40 +0800 Subject: [PATCH] fix: pass apply flag to Yunxiao backfill --- .github/workflows/yunxiao-github-sync.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/yunxiao-github-sync.yml b/.github/workflows/yunxiao-github-sync.yml index e5c993c0d..abb25914d 100644 --- a/.github/workflows/yunxiao-github-sync.yml +++ b/.github/workflows/yunxiao-github-sync.yml @@ -79,8 +79,12 @@ jobs: if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then args=(--mode "${{ inputs.mode }}" --state "${{ inputs.state }}") - if [ "${{ inputs.mode }}" = "backfill" ] && [ "${{ inputs.apply }}" != "true" ]; then - args+=(--dry-run) + if [ "${{ inputs.mode }}" = "backfill" ]; then + if [ "${{ inputs.apply }}" = "true" ]; then + args+=(--apply) + else + args+=(--dry-run) + fi fi elif [ "${{ github.event_name }}" = "issues" ] || [ "${{ github.event_name }}" = "pull_request_target" ]; then args=(--mode event --apply)