feat: add in-repo automated issue creation workflow#389
Merged
phantom5099 merged 3 commits intomainfrom Apr 22, 2026
Merged
Conversation
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: fanfeilong <2046098+fanfeilong@users.noreply.github.com>
| fi | ||
| } | ||
| trap cleanup EXIT INT TERM | ||
|
|
Author
There was a problem hiding this comment.
--labels currently splits on commas but keeps surrounding whitespace, so input like --labels "bug, priority-high" sends the second label as " priority-high" and can fail to match expected labels. Consider trimming each label token before appending --label.
Author
There was a problem hiding this comment.
处理结果
已按评论要求修复 scripts/create_issue.sh 的标签空白问题:
- 新增
trim_label(),对--labels逗号分割后的每个标签做首尾空白裁剪。 - 仅在裁剪后标签非空时追加
--label,避免传入空标签。
变更
- 提交:
adc6a47 - 文件:
scripts/create_issue.sh
验证
./scripts/create_issue.sh --helpgo test ./...go build ./...
未处理项:无。
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: fanfeilong <2046098+fanfeilong@users.noreply.github.com>
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: phantom5099 <245659304+phantom5099@users.noreply.github.com>
Collaborator
|
@xgopilot 审查当前PR是否可以通过 |
Author
审查结论当前 PR 不建议通过,存在 1 个需修复的问题。 Findings
备注本轮未做代码修改;仅基于 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by @fanfeilong
This PR adds a repository-local automation entry for creating GitHub issues directly from the repo workspace.
Summary
scripts/create_issue.shto create issues viagh issue createproposal,architecture,implementationREADME.mdVerification
./scripts/create_issue.sh --helpgo test ./...go build ./...