diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 67d2e3c46..e34683360 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -7,8 +7,9 @@ on: branches: - "*" env: - OPENSEARCH_DASHBOARDS_VERSION: '2.4' + OPENSEARCH_DASHBOARDS_VERSION: '2.4.0' OPENSEARCH_VERSION: '2.4.0-SNAPSHOT' + SECURITY_ANALYTICS_BRANCH: '2.4' jobs: tests: name: Run Cypress E2E tests @@ -22,14 +23,14 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - # TODO: Parse this from security analytics plugin + # TODO: Parse this from security analytics plugin (https://github.com/opensearch-project/security-analytics/issues/170) java-version: 11 - - name: Checkout index management + - name: Checkout security analytics uses: actions/checkout@v2 with: path: security-analytics repository: opensearch-project/security-analytics - ref: '2.4' + ref: ${{ env.SECURITY_ANALYTICS_BRANCH }} - name: Run opensearch with plugin run: | cd security-analytics diff --git a/.github/workflows/unit-tests-workflow.yml b/.github/workflows/unit-tests-workflow.yml index 76d9a03a6..d08312630 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