diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 19b01ce67..b62162a61 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -7,8 +7,9 @@ on: branches: - "*" env: - OPENSEARCH_DASHBOARDS_VERSION: '2.x' + OPENSEARCH_DASHBOARDS_VERSION: '2.4.0' OPENSEARCH_VERSION: '2.4.0-SNAPSHOT' + ALERTING_PLUGIN_BRANCH: '2.4' jobs: tests: name: Run Cypress E2E tests @@ -29,7 +30,7 @@ jobs: with: path: alerting repository: opensearch-project/alerting - ref: 'main' + ref: ${{ env.ALERTING_PLUGIN_BRANCH }} - name: Run Opensearch with plugin run: | cd alerting diff --git a/.github/workflows/unit-tests-workflow.yml b/.github/workflows/unit-tests-workflow.yml index 827e472e6..7c922e6a9 100644 --- a/.github/workflows/unit-tests-workflow.yml +++ b/.github/workflows/unit-tests-workflow.yml @@ -7,7 +7,7 @@ on: branches: - "*" env: - OPENSEARCH_DASHBOARDS_VERSION: '2.4' + OPENSEARCH_DASHBOARDS_VERSION: '2.4.0' jobs: tests: name: Run unit tests