fix(ci): Run Cypress CI on Main Branch Only (#13600)

This commit is contained in:
Akash Jain 2023-10-17 12:57:35 +05:30 committed by GitHub
parent 6578383827
commit c65518ac04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 32 deletions

View File

@ -14,13 +14,7 @@ name: MySQL Cypress Integration Tests
on:
push:
branches:
- main
- '0.[0-9]+.[0-9]+'
- '1.[0-9]+[0-9]+'
paths:
- 'openmetadata-docs/**'
pull_request_target:
types: [labeled, opened, synchronize, reopened]
- main
paths:
- 'openmetadata-docs/**'
@ -29,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
job: [0]
job: [0, 1, 2]
environment: test
steps:
- run: 'echo "Step is not required"'

View File

@ -18,13 +18,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- '0.[0-9]+.[0-9]+'
- '1.[0-9]+[0-9]+'
paths-ignore:
- 'openmetadata-docs/**'
pull_request_target:
types: [labeled, opened, synchronize, reopened]
- main
paths-ignore:
- 'openmetadata-docs/**'
@ -41,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
job: [0]
job: [0, 1, 2]
environment: test
steps:
- name: Free Disk Space (Ubuntu)

View File

@ -14,13 +14,7 @@ name: PostgreSQL Cypress Integration Tests
on:
push:
branches:
- main
- '0.[0-9]+.[0-9]+'
- '1.[0-9]+[0-9]+'
paths:
- 'openmetadata-docs/**'
pull_request_target:
types: [labeled, opened, synchronize, reopened]
- main
paths:
- 'openmetadata-docs/**'
@ -29,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
job: [0]
job: [0, 1, 2]
environment: test
steps:
- run: 'echo "Step is not required"'

View File

@ -18,13 +18,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- '0.[0-9]+.[0-9]+'
- '1.[0-9]+[0-9]+'
paths-ignore:
- 'openmetadata-docs/**'
pull_request_target:
types: [labeled, opened, synchronize, reopened]
- main
paths-ignore:
- 'openmetadata-docs/**'
@ -41,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
job: [0]
job: [0, 1, 2]
environment: test
steps:
- name: Free Disk Space (Ubuntu)