Skip to content

Feishu Notify

Feishu Notify #41

Workflow file for this run

name: Feishu Notify
on:
schedule:
- cron: '30 3 * * *' # UTC 03:30 = 北京 11:30
workflow_dispatch:
issues:
types: [opened]
pull_request:
types: [opened]
issue_comment:
types: [created]
permissions:
issues: read
pull-requests: read
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Send notification
run: node scripts/notify.mjs
env:
FEISHU_WEBHOOK: ${{ secrets.FEISHU_WEBHOOK }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_ACTOR: ${{ github.actor }}