We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0896f commit c44de3eCopy full SHA for c44de3e
.github/workflows/code-discord-release.yml
@@ -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