fix: address code review — consistent description, conditional commit step

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-07 07:44:35 +00:00
parent e695e0d3b2
commit cedcf5127e
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ jobs:
node-version: '20'
- name: 轮询工单簿 + 处理 + 回写
id: poll
env:
NOTION_API_TOKEN: ${{ secrets.NOTION_API_TOKEN }}
WORKORDER_DB_ID: ${{ vars.WORKORDER_DB_ID }}
@ -28,6 +29,7 @@ jobs:
run: node scripts/notion-signal-bridge.js poll
- name: 提交信号日志
if: success()
run: |
git config user.name "铸渊 (ZhùYuān)"
git config user.email "zhuyuan@guanghulab.com"

View File

@ -125,7 +125,7 @@ function generateSignalId() {
function loadSignalIndex() {
if (!fs.existsSync(SIGNAL_INDEX_PATH)) {
return {
description: '铸渊信号日志目录索引 · AGE OS Notion 信号桥协议',
description: '铸渊信号日志目录索引 · AGE OS 信号协议Notion API 直连)',
last_updated: new Date().toISOString(),
total_count: 0,
signals: []