Skip to content

Commit 2128160

Browse files
lostindarkCopilot
andcommitted
fix: improve release highlights change detection and formatting
- Treat commits as primary source, not just PRs - Inspect significant commits with git show to understand scope - Use PR author for attribution, fall back to commit author - Add 🌐 Localization section for translation updates - Add Full Changelog comparison link - Keep descriptions concise (one sentence per item) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fe062de commit 2128160

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release-highlights.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ Use the GitHub MCP tools to fetch release information for `${{ github.repository
3030

3131
1. **Find the previous published release** — List releases for the repository. Find the most recent release that is **not a draft** and is **published** (i.e., has a `published_at` date). This is the baseline to compare against. Note its tag name.
3232

33-
2. **Get all commits between releases** — Use `list_commits` or `git log <prev_tag>..${{ inputs.version }} --oneline` via shell to get all commits between the previous published release tag and `${{ inputs.version }}`.
33+
2. **Get all commits between releases** — Use `list_commits` or `git log <prev_tag>..${{ inputs.version }} --oneline` via shell. This is the primary source of changes. Many important changes are direct commits without PRs — **do not skip them**.
3434

35-
3. **Get merged PRs**Search for merged pull requests in the repository on the `master` branch between the two releases. Use the PR author and PR number for attribution in the highlights. Not all commits have PRs, but always check.
35+
3. **Understand what changed**For commits that look significant (new features, bug fixes), use `git show <sha> --stat` or read the changed files to understand the scope. Look at commit messages carefully — they describe the actual changes.
3636

37-
**IMPORTANT**: Compare against the last **published** release (e.g., v0.12.152), NOT the immediately previous tag. Many tags may be CI/infrastructure-only.
37+
4. **Get merged PRs** — Search for merged pull requests on the `master` branch between the two releases. Use the PR author and PR number for attribution. For commits without PRs, use the commit author and commit SHA.
38+
39+
**IMPORTANT**: Compare against the last **published** release (e.g., v0.12.152), NOT the immediately previous tag. Many tags may be CI/infrastructure-only. The commit list is the authoritative source — PRs supplement it but many changes are direct commits.
3840

3941
### 2. Categorize & Prioritize
4042

0 commit comments

Comments
 (0)