Skip to content
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

修复多仓库Issue pr交互 #236

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/tasks/lark/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def create_issue(
if len(repos) == 0:
root_id = data["event"]["message"].get("root_id", "")
if root_id:
repo, issue, pr = tasks.get_git_object_by_message_id(root_id)
repo, issue, pr = get_git_object_by_message_id(root_id)
if repo:
repos = [repo]
elif issue or pr:
Expand Down
4 changes: 4 additions & 0 deletions server/utils/lark/chat_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ def __init__(
# if len(actions) > 0
# else None,
# ),
FeishuMessageDiv(
content="**🗄 关联新仓库至当前群聊 **\n*群聊下回复「/match + repo url」 *",
tag="lark_md",
),
FeishuMessageDiv(
content=f"**⚡️ 前往 GitHub 查看 Repo 主页 **\n*群聊下回复「/view」 *",
tag="lark_md",
Expand Down
Loading