Add pull request template with checklist #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Discord PR Notification | ||
| on: | ||
| pull_request: | ||
| types: [opened] | ||
| on: | ||
| push: | ||
| pull_request: | ||
| types: [opened] | ||
| jobs: | ||
| notify: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Send message to Discord | ||
| run: | | ||
| curl -X POST ${{ secrets.DISCORD_WEBHOOK }} \ | ||
| -H "Content-Type: application/json" \ | ||
| -d '{"content": "New PR created: ${{ github.event.pull_request.html_url }}"}' | ||