From 3eae7f3e7e25a53c7812c2f627cbf74132ab7d87 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Wed, 22 Oct 2025 11:08:20 -0500 Subject: [PATCH] Return a list of update results if successfully updated --- .github/workflows/test-e2e-fork.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-e2e-fork.yml b/.github/workflows/test-e2e-fork.yml index 7e8aa68..568b651 100644 --- a/.github/workflows/test-e2e-fork.yml +++ b/.github/workflows/test-e2e-fork.yml @@ -46,7 +46,7 @@ jobs: // update the 'check-external-pr' check run const externalCheck = checks.check_runs.filter(c => c.name === 'check-external-pr'); - const { data: result } = await github.rest.checks.update({ + const { data: externalCheckUpdateResult } = await github.rest.checks.update({ ...context.repo, check_run_id: externalCheck[0].id, status: 'completed', @@ -56,11 +56,11 @@ jobs: // update the 'run-e2e-tests' check run from 'test-e2e.yml' workflow const e2eTestCheck = checks.check_runs.filter(c => c.name === 'run-e2e-tests'); - const { data: result } = await github.rest.checks.update({ + const { data: e2eTestCheckResult } = await github.rest.checks.update({ ...context.repo, check_run_id: e2eTestCheck[0].id, status: 'completed', conclusion: 'success' }); - return null; + return [externalCheckUpdateResult, e2eTestCheckResult];