Skip to content

Commit 1822415

Browse files
authored
Define discord.yml workflow
Sets up "Actions for Discord" to post notifications for pushes, PRs, and new issues.
1 parent 1b76987 commit 1822415

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/discord.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: notify-discord
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request_target:
7+
branches: [master]
8+
issues:
9+
types: [opened]
10+
11+
jobs:
12+
notify:
13+
runs-on: ubuntu-latest
14+
if: github.repository == 'google/vim-codefmt'
15+
16+
steps:
17+
- name: Actions for Discord
18+
env:
19+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
20+
uses: Ilshidur/[email protected]

0 commit comments

Comments
 (0)