github-tools / github-tools/github-release-notes
Error when using `prs-with-issues`
- 主要語言
- JavaScript
- 星號
- 897
- 分支
- 313
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Using `prs-with-issues` as the data source resulted in an error.
`gren changelog --generate --override --changelog-filename=RELEASE_NOTES.md --tags=v15.1.1-Preview.13..v15.0.4 --data-source=prs-with-issues`

```
Getting gren config from local file C:\Users\MartinHinshelwoodNKD\source\repos\azure-devops-migration-tools\.grenrc.yml
🤖 - Generate changelog file:
===================================
√ Releases found: 30
√ Tags found: v15.1.1-Preview.13, v15.0.4
/ Getting all merged pull requestsTypeError: Cannot read properties of null (reading 'match')
at _context17.t1 (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\dist\Gren.js:1760:59)
at Array.map ()
at Gren._callee17$ (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\dist\Gren.js:1773:77)
at tryCatch (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\regenerator-runtime\runtime.js:62:40)
at Generator.invoke [as _invoke] (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\regenerator-runtime\runtime.js:296:22)
at prototype. [as next] (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\regenerator-runtime\runtime.js:114:21)
at step (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
at C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
/ Getting all merged pull requests
```
Never finishes
貢獻指南
研究方向
Start by reproducing the reported gren changelog command with --data-source=prs-with-issues and inspect the failing stack location in dist/Gren.js:1760. Trace the null value used by match during merged pull request processing; done means the command completes without the TypeError and generates RELEASE_NOTES.md.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, node.js
- 領域
- release
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100