zhizhi/.github/workflows/tianyen-dispatch.yml

25 lines
723 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 👁️ TianYen Dispatch
# NOTE: 此文件由 Agent PR 创建可能需要手动合并SkyEye R5 限制)
name: 👁️ TianYen Dispatch
on:
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:
permissions:
contents: write
actions: write
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: TianYen Bulletin Dispatch
run: node scripts/tianyen/bulletin-dispatcher.js
- name: Commit
run: |
git config user.name "天眼 (TIANYEN)"
git config user.email "tianyen@guanghulab.com"
git add -A
git diff --cached --quiet || git commit -m "👁️ TianYen: bulletin dispatch"
git push || true