mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-13 00:22:23 +00:00
Fix issue for forked Cypress workflows (#14463)
This commit is contained in:
parent
b9e1360bd9
commit
297aa70420
@ -14,7 +14,7 @@ name: MySQL Cypress Integration Tests
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 0 * * *'
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
- opened
|
||||
|
||||
@ -18,7 +18,7 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '30 0 * * *'
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
- opened
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
cypress-ci-mysql:
|
||||
if: |
|
||||
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
|
||||
|| ( github.event_name == 'pull_request'
|
||||
|| ( github.event_name == 'pull_request_target'
|
||||
&& contains(github.event.pull_request.labels.*.name, 'e2e')
|
||||
&& github.event.pull_request.draft == false
|
||||
)
|
||||
|
||||
@ -14,7 +14,7 @@ name: PostgreSQL Cypress Integration Tests
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 0 * * *'
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
- opened
|
||||
|
||||
@ -18,7 +18,7 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '30 0 * * *'
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
- opened
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
cypress-ci-postgresql:
|
||||
if: |
|
||||
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
|
||||
|| ( github.event_name == 'pull_request'
|
||||
|| ( github.event_name == 'pull_request_target'
|
||||
&& contains(github.event.pull_request.labels.*.name, 'e2e')
|
||||
&& github.event.pull_request.draft == false
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user