Skip to content

feat(changelog): include PR links in summary bullets too#13165

Closed
mfn wants to merge 1 commit into
anomalyco:devfrom
mfn:mfn/oc-changelog-prs
Closed

feat(changelog): include PR links in summary bullets too#13165
mfn wants to merge 1 commit into
anomalyco:devfrom
mfn:mfn/oc-changelog-prs

Conversation

@mfn

@mfn mfn commented Feb 11, 2026

Copy link
Copy Markdown

What does this PR do?

I like the release changelog summary a lot but still, although the individual contributor list below contains the PRs, it feels more natural to also be able to directly go to the origin PRs from there.

How did you verify your code works?

I didn't really, because I'm not sure how to test something part of the release process, sorry :|

Fixes #13197

@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title changelog: include PR links in summary bullets too doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@mfn mfn changed the title changelog: include PR links in summary bullets too feat(changelog): include PR links in summary bullets too Feb 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

Comment thread script/changelog.ts
@@ -178,8 +183,9 @@ export async function generateChangelog(commits: Commit[], opencode: Awaited<Ret
for (let i = 0; i < commits.length; i++) {
const commit = commits[i]!
const section = getSection(commit.areas)
const prs = commit.prs.length > 0 ? ` (${commit.prs.map((n) => `#${n}`).join(", ")})` : ""

@alexyaroshuk alexyaroshuk Feb 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about rendering links?
const prs = commit.prs.length > 0 ? ` (${commit.prs.map((n) => `[#${n}](https://github.com/anomalyco/opencode/pull/${n})`).join(", ")})` : ""

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Improve the changelog summary with links to PRs too

2 participants