Skip to content

Merge pull request #15 from CaQuick/test/improve-test-coverage #35

Merge pull request #15 from CaQuick/test/improve-test-coverage

Merge pull request #15 from CaQuick/test/improve-test-coverage #35

name: Discord Notify
on:
pull_request:
types: [closed]
create:
push:
issues:
types: [opened]
jobs:
notify:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- name: Checkout scripts
uses: actions/checkout@v4
with:
sparse-checkout: .github/scripts
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
- name: Send Discord notification
run: node .github/scripts/discord-notify.mjs
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_SERVER_URL: ${{ github.server_url }}