| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:90261c1c-05ba-6c04-596e-a1692b3364fc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EC1E:1138FF:2419BC:30A682:6A4D33AE |
| html-safe-nonce | 7195583c40b855d370df268195b62c150db4f720833f4e310358fc8e2c13688b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzFFOjExMzhGRjoyNDE5QkM6MzBBNjgyOjZBNEQzM0FFIiwidmlzaXRvcl9pZCI6Ijc1NTY5NTUzMjk0MzIyMDQyMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bcbd20969bddf12afccf15b6624672220ab1958378937cf33818352897c73efc |
| hovercard-subject-tag | pull_request:3952835540 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/208/files |
| twitter:image | https://avatars.githubusercontent.com/u/12181423?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12181423?s=400&v=4 |
| og:image:alt | Description
本 PR 为项目引入了一套自动化的 CHANGELOG 生成与发布流程,并优化了预提交检查机制。
变更内容
1. CHANGELOG 自动生成 (scripts/generate-changelog.js)
新增脚本,从 GitHub Releases API 拉取所有稳定版本(vX.Y.Z),自动生成 CHANGELOG.md
按 Keep a Changelog... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git |
| octolytics-dimension-user_id | 118287711 |
| octolytics-dimension-user_login | lessweb |
| octolytics-dimension-repository_id | 1223512305 |
| octolytics-dimension-repository_nwo | lessweb/deepcode-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1223512305 |
| octolytics-dimension-repository_network_root_nwo | lessweb/deepcode-cli |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/lessweb/deepcode-cli/pull/208/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F208%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F208%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=lessweb%2Fdeepcode-cli |
| Reload | https://github.com/lessweb/deepcode-cli/pull/208/files |
| Reload | https://github.com/lessweb/deepcode-cli/pull/208/files |
| Reload | https://github.com/lessweb/deepcode-cli/pull/208/files |
| Please reload this page | https://github.com/lessweb/deepcode-cli/pull/208/files |
|
lessweb
| https://github.com/lessweb |
| deepcode-cli | https://github.com/lessweb/deepcode-cli |
|
Notifications
| https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli |
|
Fork
150
| https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli |
|
Star
1.7k
| https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli |
|
Code
| https://github.com/lessweb/deepcode-cli |
|
Issues
43
| https://github.com/lessweb/deepcode-cli/issues |
|
Pull requests
22
| https://github.com/lessweb/deepcode-cli/pulls |
|
Actions
| https://github.com/lessweb/deepcode-cli/actions |
|
Projects
| https://github.com/lessweb/deepcode-cli/projects |
|
Security and quality
0
| https://github.com/lessweb/deepcode-cli/security |
|
Insights
| https://github.com/lessweb/deepcode-cli/pulse |
|
Code
| https://github.com/lessweb/deepcode-cli |
|
Issues
| https://github.com/lessweb/deepcode-cli/issues |
|
Pull requests
| https://github.com/lessweb/deepcode-cli/pulls |
|
Actions
| https://github.com/lessweb/deepcode-cli/actions |
|
Projects
| https://github.com/lessweb/deepcode-cli/projects |
|
Security and quality
| https://github.com/lessweb/deepcode-cli/security |
|
Insights
| https://github.com/lessweb/deepcode-cli/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose |
| hqwlkj | https://github.com/hqwlkj |
| lessweb:main | https://github.com/lessweb/deepcode-cli/tree/main |
| hqwlkj:feature/changelog | https://github.com/hqwlkj/deepcode-cli/tree/feature/changelog |
|
Conversation
0
| https://github.com/lessweb/deepcode-cli/pull/208 |
|
Commits
11
| https://github.com/lessweb/deepcode-cli/pull/208/commits |
|
Checks
6
| https://github.com/lessweb/deepcode-cli/pull/208/checks |
|
Files changed
| https://github.com/lessweb/deepcode-cli/pull/208/files |
| Please reload this page | https://github.com/lessweb/deepcode-cli/pull/208/files |
|
chore: 添加 CHANGELOG 自动生成、发布工作流及预提交检查优化
| https://github.com/lessweb/deepcode-cli/pull/208/files#top |
|
Show all changes
11 commits
| https://github.com/lessweb/deepcode-cli/pull/208/files |
|
1f431ea
chore(scripts): 添加生成CHANGELOG.md的脚本
hqwlkj Jun 24, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/1f431ea15f682b9e16badbf6e4aed717172d42bb |
|
004ab3e
Merge branch 'main' into feature/changelog
hqwlkj Jun 25, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/004ab3e4e5b1a45601f709a23302d0602a104cfe |
|
78b618d
ci(workflow): 添加脚本测试与改进预提交检查
hqwlkj Jun 25, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/78b618d7103814c49eaa98f743713af7382f113f |
|
439f1eb
ci(release): 添加发布工作流自动化脚本
hqwlkj Jun 25, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/439f1eb45d77b8ab6d3ebf23ddd23774da20f0bc |
|
fb87dea
Merge branch 'main' into feature/changelog
hqwlkj Jun 26, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/fb87dea04130952c98ad8ab9b7400f23b49026c9 |
|
5b20fb2
chore(changelog): 更新CHANGELOG格式及生成脚本
hqwlkj Jun 26, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/5b20fb2dd1b8937c8d0e424f0432a2200013fe8a |
|
591274a
chore(changelog): 更新CHANGELOG格式及生成脚本
hqwlkj Jun 26, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/591274a9f9281d197847e9cb883f6daf113e7dce |
|
c18d0d8
refactor(ui): 替换所有 process.stdout.write 为统一的写入方法
hqwlkj Jun 26, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/c18d0d81cadda282677190ef31c80fa473522a8d |
|
7723ddd
Merge branch 'lessweb:main' into main
hqwlkj Jun 26, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/7723ddd58203d5f315cf1fa83f0339a83934ce6e |
|
dc6f560
Merge branch 'main' into feature/changelog
hqwlkj Jun 29, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/dc6f560c06b85818c8a4197a6a1d013e9b842133 |
|
b3ea1d5
chore(scripts): 支持无PR链接的变更条目标记解析与格式化
hqwlkj Jun 29, 2026
| https://github.com/lessweb/deepcode-cli/pull/208/commits/b3ea1d5a8592c56e63e909d3f9cebcb4253b217a |
|
Clear filters
| https://github.com/lessweb/deepcode-cli/pull/208/files |
| Please reload this page | https://github.com/lessweb/deepcode-cli/pull/208/files |
| Please reload this page | https://github.com/lessweb/deepcode-cli/pull/208/files |
|
ci.yml
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
|
release.yml
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34 |
|
pre-commit
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-d2bc4bbf14eadc292d84e0ef5f7a93115c23557f533809fc80b896934291529d |
|
CHANGELOG.md
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed |
|
package.json
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
App.tsx
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-85bb709e32daf446ca90dc746b77c6d1cf092ec6a70d6471ec26786047093dfe |
|
generate-changelog.test.js
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-fee9277995992e469ae3b0572ed3047b35f60ae57135b9555a2fdce50626b39b |
|
generate-changelog.js
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-4a3bde22066c7a7e045d73b2930bb9ae81620d75717f34f6c0e1f47fbdbf6201 |
|
pre-commit.js
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-c8a4056cc7ab42285f9f6b4a1c48930cef6bb38be2066f27200ad3344d24f7d4 |
| .github/workflows/ci.yml | https://github.com/lessweb/deepcode-cli/pull/208/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
|
View file
| https://github.com/lessweb/deepcode-cli/blob/b3ea1d5a8592c56e63e909d3f9cebcb4253b217a/.github/workflows/ci.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/lessweb/deepcode-cli/pull/208/{{ revealButtonHref }} |
|
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
| .github/workflows/release.yml | https://github.com/lessweb/deepcode-cli/pull/208/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34 |
|
View file
| https://github.com/lessweb/deepcode-cli/blob/b3ea1d5a8592c56e63e909d3f9cebcb4253b217a/.github/workflows/release.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/lessweb/deepcode-cli/pull/208/{{ revealButtonHref }} |
| .husky/pre-commit | https://github.com/lessweb/deepcode-cli/pull/208/files#diff-d2bc4bbf14eadc292d84e0ef5f7a93115c23557f533809fc80b896934291529d |
|
View file
| https://github.com/lessweb/deepcode-cli/blob/b3ea1d5a8592c56e63e909d3f9cebcb4253b217a/.husky/pre-commit |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/lessweb/deepcode-cli/pull/208/{{ revealButtonHref }} |
| CHANGELOG.md | https://github.com/lessweb/deepcode-cli/pull/208/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed |
|
View file
| https://github.com/lessweb/deepcode-cli/blob/b3ea1d5a8592c56e63e909d3f9cebcb4253b217a/CHANGELOG.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/lessweb/deepcode-cli/pull/208/{{ revealButtonHref }} |
| package.json | https://github.com/lessweb/deepcode-cli/pull/208/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
View file
| https://github.com/lessweb/deepcode-cli/blob/b3ea1d5a8592c56e63e909d3f9cebcb4253b217a/package.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/lessweb/deepcode-cli/pull/208/{{ revealButtonHref }} |
|
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
| https://github.com/lessweb/deepcode-cli/pull/208/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
| Please reload this page | https://github.com/lessweb/deepcode-cli/pull/208/files |
| Please reload this page | https://github.com/lessweb/deepcode-cli/pull/208/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |