Browse Source

chore: test e2e dynamic check

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 4 years ago
parent
commit
77cbdff46a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/e2e-managed.yml

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

@@ -73,7 +73,7 @@ jobs:
           const check = checks.check_runs.filter(c => c.name === job_name);
           console.log("\n\nPR Filtered CHECK: " + check)
           console.log(check)
-          if(check){
+          if(check && check.length > 0){
             const { data: result } = await github.checks.update({
               ...context.repo,
               check_run_id: check[0].id,