From 729713e72915c640f9541c1bfb8f35ad8b263e30 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Mon, 28 Oct 2024 18:56:57 +0100 Subject: [PATCH] ci: allow using test results from runs triggered by pull_request when deploying e2e report using branch results --- .github/workflows/e2e-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-report.yml b/.github/workflows/e2e-report.yml index 61239180e..b3c22c440 100644 --- a/.github/workflows/e2e-report.yml +++ b/.github/workflows/e2e-report.yml @@ -31,7 +31,7 @@ jobs: id: get-run-id run: | if [ "${{ inputs.use-branch }}" == "true" ]; then - E2E_RUN_ID=$(gh run list -w test-e2e.yml -e workflow_dispatch -s success -b $GITHUB_REF_NAME --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) + E2E_RUN_ID=$(gh run list -w test-e2e.yml -s success -b $GITHUB_REF_NAME --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) else E2E_RUN_ID=$(gh run list -w test-e2e.yml -e schedule -s success --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) fi