From 1fbfe88ce37d547ece4815c917c6beb840c2b2c4 Mon Sep 17 00:00:00 2001 From: randypanding <66171646+randypanding@users.noreply.github.com> Date: Fri, 21 Aug 2026 21:17:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20SLI=20=E5=8E=BB=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=EF=BC=88GOVERNANCE=5FTOKEN=20=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=8F=AF=E8=A7=81=E6=80=A7=E9=97=AE=E9=A2=98=EF=BC=9B?= =?UTF-8?q?=E4=B8=8A=E6=9C=9F=E6=A3=80=E7=B4=A2=E6=94=B9=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=EF=BC=89=E2=80=94=E2=80=94T4=20=E4=B8=89?= =?UTF-8?q?=E8=B7=91=E5=AE=9E=E6=B5=8B=EF=BC=9BADR-0059=20/=20.github=20#9?= =?UTF-8?q?8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/sli-report.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sli-report.sh b/scripts/sli-report.sh index 2aafc3d..fcb5d50 100644 --- a/scripts/sli-report.sh +++ b/scripts/sli-report.sh @@ -184,7 +184,7 @@ $REPORT BOD gh issue create --repo "$GOV_REPO" --title "SLI 周报 $WEEK(自动合并门禁自身指标)" \ - --body-file "$TMP/body.md" --label sli-report || die "周报 issue 创建失败" \n || gh issue create --repo "$GOV_REPO" --title "SLI 周报 $WEEK(自动合并门禁自身指标)" --body-file "$TMP/body.md" + --body-file "$TMP/body.md" || die "周报 issue 创建失败" \n || gh issue create --repo "$GOV_REPO" --title "SLI 周报 $WEEK(自动合并门禁自身指标)" --body-file "$TMP/body.md" # 抽样审计 issue SAMPLES=$(grep '^SAMPLE=' "$TMP/metrics.txt" || true) @@ -202,7 +202,7 @@ fi if [[ "$ESCALATE" == "ESCALATE" ]]; then gh issue create --repo "$GOV_REPO" --title "P1: 门禁逃逸率连续两周 >0(SLI 升级,$WEEK)" \ - --body "escape_rate 上期=$PREV 本期=$CUR——按 #98 T5 阈值自动升级。需归因(被 revert 的 PR / P0 事件清单见周报)。" --label P1 \ + --body "escape_rate 上期=$PREV 本期=$CUR——按 #98 T5 阈值自动升级。需归因(被 revert 的 PR / P0 事件清单见周报)。" \ && exit 1 fi exit 0