浏览代码

Clarify assignee error message.

Eric Huss 1 年之前
父节点
当前提交
cf2677c9dd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/handlers/assign.rs

+ 2 - 2
src/handlers/assign.rs

@@ -249,8 +249,8 @@ async fn set_assignee(issue: &Issue, github: &GithubClient, username: &str) {
                 &format!(
                     "Failed to set assignee to `{username}`: {err}\n\
                      \n\
-                     > **Note**: Only org members, users with write \
-                       permissions, or people who have commented on the PR may \
+                     > **Note**: Only org members with at least the repository \"read\" role, \
+                       users with write permissions, or people who have commented on the PR may \
                        be assigned."
                 ),
             )