diff --git a/.github/workflows/cypress-integration-tests-mysql-skip.yml b/.github/workflows/cypress-integration-tests-mysql-skip.yml index 5a7b6b414ac5..e664cb0d9bbc 100644 --- a/.github/workflows/cypress-integration-tests-mysql-skip.yml +++ b/.github/workflows/cypress-integration-tests-mysql-skip.yml @@ -12,9 +12,15 @@ name: MySQL Cypress Integration Tests on: - push: - branches: - - main + schedule: + - cron: '30 0 * * *' + pull_request: + types: + - labeled + - opened + - synchronize + - reopened + - ready_for_review paths: - 'openmetadata-docs/**' @@ -23,7 +29,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - job: [0, 1, 2] + job: [1, 2, 3, 4] environment: test steps: - run: 'echo "Step is not required"' \ No newline at end of file diff --git a/.github/workflows/cypress-integration-tests-postgresql-skip.yml b/.github/workflows/cypress-integration-tests-postgresql-skip.yml index 0e73e66930a2..bbd841d60fd9 100644 --- a/.github/workflows/cypress-integration-tests-postgresql-skip.yml +++ b/.github/workflows/cypress-integration-tests-postgresql-skip.yml @@ -12,9 +12,15 @@ name: PostgreSQL Cypress Integration Tests on: - push: - branches: - - main + schedule: + - cron: '30 0 * * *' + pull_request: + types: + - labeled + - opened + - synchronize + - reopened + - ready_for_review paths: - 'openmetadata-docs/**' @@ -23,7 +29,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - job: [0, 1, 2] + job: [1, 2, 3, 4] environment: test steps: - run: 'echo "Step is not required"' \ No newline at end of file