fix(report-error): 寫入前先確認

This commit is contained in:
Jeffery
2026-08-28 17:58:52 +08:00
parent 9785af335a
commit a0a15b6ce5
+2 -1
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
# report-error.sh — 失敗回報流程:把一筆 hook 或工具異常寫成 wiki 的 ERROR_{HASH}, # report-error.sh — 失敗回報流程:把一筆 hook 或工具異常寫成 wiki 的 ERROR_{HASH},
# 並在 ERROR_CONTENTS 附上一列索引。頁面內容套用 templates/ 的兩份範本, # 並在 ERROR_CONTENTS 附上一列索引。頁面內容套用 templates/ 的兩份範本,
# 範本是文案的唯一來源,本腳本只填欄位。 # 範本是文案的唯一來源,本腳本只填欄位;真正寫進 wiki 前,還會先走
# Gitea 寫入確認。
# #
# 用法: # 用法:
# report-error.sh --hook {名稱} --exit {碼} --summary {摘要} # report-error.sh --hook {名稱} --exit {碼} --summary {摘要}