Commit 3133863
Post silent changelog to Discord on release (#493)
Adds a step to release.yml that posts each new release's auto-generated
notes to the project Discord's #changelog channel via a channel-scoped
webhook (secret DISCORD_CHANGELOG_WEBHOOK).
The post is silent: flags:4096 (Discord's SUPPRESS_NOTIFICATIONS / @silent)
means the message lands in the channel and marks it unread but triggers no
push/desktop notification for anyone, independent of per-channel settings.
No @everyone/@here is ever included, and allowed_mentions.parse:[] is
belt-and-suspenders against any @mention in the notes pinging. The step
skips cleanly when the secret is unset, so releases never break.
In-line in release.yml rather than a release:published-triggered workflow
because the GITHUB_TOKEN-created release won't fire downstream workflows
(GitHub anti-loop safeguard) — same reason bump-and-release dispatches
release.yml explicitly.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent e22f938 commit 3133863
1 file changed
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
0 commit comments