fix: address code review — consistent description, conditional commit step
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
e695e0d3b2
commit
cedcf5127e
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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: []
|
||||
|
|
|
|||
Loading…
Reference in New Issue