-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add get-issue #114
feat: add get-issue #114
Conversation
🎊 PR Preview has been successfully built and deployed to https://issues-helper-preview-pr-114.surge.sh |
src/helper/advanced.ts
Outdated
export async function doGetIssue() { | ||
const issue = await ICE.getIssue(); | ||
core.info(`[doGetIssue] success!`); | ||
core.setOutput('issue', JSON.stringify(issue)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我倾向于 直接导出 title body number 之类的。。。。
另外 labels assignees 是数组,最好处理下
外面的 action.yml 要定义输出
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xrkffgg 数组处理成什么格式呢~'xx1,xx2' 还是把数据提取出来 ['xx1', 'xx2']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xrkffgg 修改了一版,辛苦再看一下
🤔 这个变动的性质是?/ What is the nature of this change?
🔗 相关 Issue / Related Issue
#113
💡 需求背景和解决方案 / Background or solution
📝 更新日志 / Changelog
get-issue