🔧 fix: 添加 workflow_run 触发器修复飞书→Notion SYSLOG自动写入断链
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
cb526bcedf
commit
fa60ea92a3
|
|
@ -5,12 +5,18 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- 'syslog-inbox/**'
|
- 'syslog-inbox/**'
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["铸渊 · 飞书SYSLOG桥接"]
|
||||||
|
types: [completed]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# ── Pipeline A:SYSLOG 读取与处理 ──────────────────────
|
# ── Pipeline A:SYSLOG 读取与处理 ──────────────────────
|
||||||
pipeline-a-syslog:
|
pipeline-a-syslog:
|
||||||
name: 📥 Pipeline A · SYSLOG 读取处理
|
name: 📥 Pipeline A · SYSLOG 读取处理
|
||||||
|
if: >-
|
||||||
|
github.event_name != 'workflow_run' ||
|
||||||
|
github.event.workflow_run.conclusion == 'success'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue