From 2325ffbc57b9c80fa67f31a436d4f83b3830f537 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Wed, 29 Jul 2026 22:20:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8Dpr=5Fauto=5Fscan.p?= =?UTF-8?q?y=E7=9A=84typo=20-=20base=5Fref=E5=AD=97=E6=AE=B5=E5=90=8D?= =?UTF-8?q?=E5=BA=94=E4=B8=BAref=E8=80=8C=E9=9D=9Ere?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复base_ref获取字段名错误(re->ref),导致所有PR被误判为目标分支不匹配而跳过 - 修复dry-run模式打印缺少f前缀的小bug --- scripts/ci/pr_auto_scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/pr_auto_scan.py b/scripts/ci/pr_auto_scan.py index 9efcbe024..cfe6db8ef 100644 --- a/scripts/ci/pr_auto_scan.py +++ b/scripts/ci/pr_auto_scan.py @@ -301,7 +301,7 @@ def main(): pr_num = pr["number"] pr_title = pr["title"] head_sha = pr["head"]["sha"] - base_ref = pr.get("base", {}).get("re", "") + base_ref = pr.get("base", {}).get("ref", "") # 跳过draft if pr.get("draft"):