技能 编程开发 维护仓库变更日志

维护仓库变更日志

v20261126
changelog
此技能用于从合并的拉取请求和推送中生成变更日志条目。它将更改整合到单个滚动拉取请求中,确保仓库的变更日志保持最新。用户遵循特定步骤识别更改、选择相关更新并按仓库风格格式化。它支持每日扫描和手动请求,作为其他营销技能的来源。
获取技能
393 次下载
概览

Changelog

One rolling pull request holds every entry since the last merge of it. Each
line tells a user what they can now do, or what no longer breaks. Every line
comes from a commit or pull request you read.

Steps

  1. Find the changelog. site.changelog_path in marketing.json; null:

detect it as references/format.md says, and name what you found in the
pull request body so a person can set it.

  1. Open the branch. gh pr list --head kortix/marketing-changelog --state open.

It exists: check out kortix/marketing-changelog and rebase it on
origin/<trunk>. Else create it from origin/<trunk>.

  1. Find the range. Start after the newest change the changelog already

covers (its date, version or listed pull request numbers). List merged
pull requests with
gh pr list --state merged --base <trunk> --search "merged:>=<date>" --json number,title,body,mergedAt,labels,url
and direct pushes with git log --no-merges <start>..origin/<trunk>.
A webhook run adds its one pull request; the daily sweep adds all.

  1. Choose what goes in with references/selection.md. Read the diff when

the title does not say what changed for a user.

  1. Write each kept change as one line in the file's own format

(references/format.md): under the unreleased section, or under today's
date when the file is dated. Never edit a released section.

  1. Commit docs(changelog): <summary> and push. No open pull request:

open one, title docs(changelog): <first date> to <last date>, labels
marketing and marketing:changelog. Update the body every run:
included pull requests, skipped ones with the reason, Needs a person.

  1. Nothing user-visible in the range: push nothing. End with

changelog: created=0 updated=0 skipped=<n> ….

Rules

  • Never a feature, number or benefit the commit or pull request does not show.
  • An unclear change stays out, listed under Not included with the reason.
  • Never edit the changelog on <trunk> directly; a person merges the pull

request.

  • Group lines the way the file already groups them (Added, Changed, Fixed,

Removed, Security, or the file's own headings).

信息
分类 编程开发
名称 changelog
版本 v20261126
大小 2.98KB
更新时间 2026-11-26
语言