Skip to content

ci: 添加 Discord 通知工作流 #3

ci: 添加 Discord 通知工作流

ci: 添加 Discord 通知工作流 #3

name: Discord Notification
on:
release:
types: [published]
push:
branches: ['**']
pull_request:
types: [opened, closed]
jobs:
discord-notify:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Discord Notification
uses: Time-Machine-Lab/TML-Github_Actions/actions/discord-github-notify@main
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}