浏览代码

Assume check is not array

Lucas Severo Alves 4 年之前
父节点
当前提交
4c63c757b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/e2e.yml

+ 1 - 1
.github/workflows/e2e.yml

@@ -175,7 +175,7 @@ jobs:
 
           const { data: result } = await github.checks.update({
             ...context.repo,
-            check_run_id: check[0].id,
+            check_run_id: check.id,
             status: 'completed',
             conclusion: process.env.conclusion
           });