chore(release): append en.dev sponsor blurb to release notes#598
Conversation
Adds a "Sponsor usage" section at the bottom of each GitHub Release body after communique generates the narrative notes, so readers who land on a release see how usage is funded and where to sponsor. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Greptile SummaryThis PR adds a post-release step to the Confidence Score: 5/5Safe to merge — single workflow step with no logic bugs or security concerns. All changes are confined to a single CI workflow step. The heredoc/YAML indentation interaction is correct, the No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant GHA as GitHub Actions
participant communique as communique CLI
participant GH as GitHub Releases API
GHA->>communique: communique generate "$TAG" --github-release
communique->>GH: gh release edit (AI-generated notes)
GHA->>GH: gh release view "$TAG" --json body --jq .body
GH-->>GHA: current release body
Note over GHA: Append sponsor blurb via heredoc → /tmp/release-notes.md
GHA->>GH: gh release edit "$TAG" --notes-file /tmp/release-notes.md
Reviews (1): Last reviewed commit: "chore(release): append en.dev sponsor bl..." | Re-trigger Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #598 +/- ##
=======================================
Coverage 79.03% 79.03%
=======================================
Files 48 48
Lines 7235 7235
Branches 7235 7235
=======================================
Hits 5718 5718
Misses 1140 1140
Partials 377 377 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
communique generatein theenhance-releasejob in.github/workflows/publish-cli.yml.What it looks like
Rendered at the bottom of each release body:
Test plan
🤖 Generated with Claude Code
Note
Low Risk
Low risk: only adjusts the GitHub Actions release workflow to post-process release notes; no runtime or security-sensitive application code changes.
Overview
After
communique generateruns in theenhance-releasejob, the workflow now edits the GitHub Release body to append a “Sponsor usage” section.This is implemented by fetching the current release body via
gh release view, concatenating the sponsor blurb, and updating the release withgh release edit --notes-file.Reviewed by Cursor Bugbot for commit d1de688. Bugbot is set up for automated code reviews on this repo. Configure here.