Skip to content

Feature/trigger pr

Feature/trigger pr #1

Workflow file for this run

name: Notify Discord on Pull Request
on:
pull_request:
types: [opened]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Discord message
run: |
curl -H "Content-Type: application/json" \
-X POST \
-d '{
"content": "🔔 New Pull Request by **${{ github.actor }}**: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}