Skip to content

Commit c44de3e

Browse files
committed
Add release notification workflow
1 parent 0e0896f commit c44de3e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release PostHog Code to Discord
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
# No GITHUB_TOKEN permissions needed -- only calls an external webhook
8+
permissions: {}
9+
10+
jobs:
11+
notify:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- uses: SethCohen/github-releases-to-discord@37afa88c8c9302a9307244b5a0d4e782d528a4b5 # v1.15.1
17+
with:
18+
webhook_url: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}

0 commit comments

Comments
 (0)