We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a5db3 commit b9cab61Copy full SHA for b9cab61
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,26 @@
1
+name: Notify Discord on GitHub Events
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ issues:
7
+ issue_comment:
8
+ fork:
9
+ create:
10
+ delete:
11
+ release:
12
+ # Add any other events you want to track
13
14
+jobs:
15
+ notify:
16
+ runs-on: ubuntu-latest
17
18
+ steps:
19
+ - name: Send notification to Discord
20
+ env:
21
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
22
+ run: |
23
+ curl -H "Content-Type: application/json" \
24
+ -X POST \
25
+ -d '{"username": "GitHub Actions", "content": "Something happened in GitHub!"}' \
26
+ "$DISCORD_WEBHOOK"
0 commit comments