Fix issue for forked Cypress workflows (#14463)

This commit is contained in:
Preet Shah 2023-12-21 20:20:12 +05:30 committed by GitHub
parent b9e1360bd9
commit 297aa70420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ name: MySQL Cypress Integration Tests
on:
schedule:
- cron: '30 0 * * *'
pull_request:
pull_request_target:
types:
- labeled
- opened

View File

@ -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
)

View File

@ -14,7 +14,7 @@ name: PostgreSQL Cypress Integration Tests
on:
schedule:
- cron: '30 0 * * *'
pull_request:
pull_request_target:
types:
- labeled
- opened

View File

@ -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
)