From dc6a7ece09b2fb971e5e59dd4e53c4482964d14c Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Tue, 3 Oct 2023 23:27:52 -0700 Subject: [PATCH] [CI][Cypress][Bug] use default SOURCE inputs (#5197) https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5134 Incorrectly uses the source of the code to pull down to BASE REF, which would likely be `main` or `2.x`, etc. It should be pulling down the PR branch. Cypress tests at the time of merging were failing due to unrelated issue of disk allocation. Not setting the env variables causes the workflow to rely on the default values which is a return back to the original implementation and if the env is set then it will be not empty. Signed-off-by: Kawika Avilla --- .github/workflows/cypress_workflow.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/cypress_workflow.yml b/.github/workflows/cypress_workflow.yml index adb62209e433..02d1064fb8e1 100644 --- a/.github/workflows/cypress_workflow.yml +++ b/.github/workflows/cypress_workflow.yml @@ -28,8 +28,6 @@ on: type: string env: - SOURCE_REPO: ${{ github.repository }} - SOURCE_BRANCH: "${{ github.base_ref }}" TEST_REPO: ${{ inputs.test_repo != '' && inputs.test_repo || 'opensearch-project/opensearch-dashboards-functional-test' }} TEST_BRANCH: "${{ inputs.test_branch != '' && inputs.test_branch || github.base_ref }}" FTR_PATH: 'ftr'