Skip to content

Commit 9b8e514

Browse files
committed
Define discord.yml workflow
Sets up "Actions for Discord" to post notifications for pushes, PRs, and new issues.
1 parent 1bf6241 commit 9b8e514

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/discord.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: notify-discord
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
issues:
9+
types: [opened]
10+
11+
jobs:
12+
notify:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Actions for Discord
17+
env:
18+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
19+
uses: Ilshidur/[email protected]

0 commit comments

Comments
 (0)