浏览代码

Fix docs update using the wrong repo for the commit message

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

+ 1 - 1
src/handlers/docs_update.rs

@@ -67,7 +67,7 @@ pub async fn docs_update() -> Result<Option<Issue>> {
     let dest_repo = gh.repository(DEST_REPO).await?;
     let work_repo = gh.repository(WORK_REPO).await?;
 
-    let updates = get_submodule_updates(&gh, &work_repo).await?;
+    let updates = get_submodule_updates(&gh, &dest_repo).await?;
     if updates.is_empty() {
         tracing::trace!("no updates this week?");
         return Ok(None);