Repository navigation
feat(workflows): add Discord release announcement action - #56
Merged
Merged
Conversation
- Add composite action that posts release news to a Discord webhook - `packages` mode renders npm releases from CHANGELOG.md with no AI - `draft` mode has a Pullfrog agent write a JSON announcement for review, and `post` sends it after approval - Add reusable workflows for package and bot or site releases, with a reviewed post job - Add optional HMAC-signed lifecycle callbacks and node:test unit tests
|
Note Every change sits outside the source tree, in folders like
|
1 of 6 tasks
Review of #56 found paths where the announcement silently lost or mislabelled released work: - read every compare page, and fail past 5000 commits - retry pull request lookups, then fail the collection - drop only the default-branch rollup, keep hotfixes into release - fail when a published package has no changelog section - wrap the dependency-only list between whole links - give callbacks a fixed sequence per event, and split mode from kind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/actions/announceto post release news to a Discord webhook.packagesrenders npm changelog sections without AI,drafthas the Pullfrog agent write a bot or site announcement for review, andpostsends a reviewed draft.reusable-announce-packages.ymlandreusable-announce-release.yml. The release workflow runs draft, review, and post as separate jobs.started,drafted,completed,failed) with an HMAC-SHA256 signature.announce-action-tests.ymlto run the action tests.Testing
node --test '.github/actions/announce/test/*.test.ts'on this branch. Run it before merge.announcement.test.ts,collect.test.ts,discord.test.ts, andpackages.test.ts. They cover parsing, rendering, context collection, Discord limits, and packages output.dry-run: trueagainst a real release.draftmode with a live Pullfrog provider key.

Confidence Score: 5/5
The PR appears safe to merge; all previous findings are addressed.Reviews (2) · Last reviewed commit: "fix(announce): fail loudly instead of dr..." · Reviewed by Greptile