Skip to content

Commit

Permalink
Fix issue for forked Cypress workflows (#14463)
Browse files Browse the repository at this point in the history
  • Loading branch information
preetsshah authored Dec 21, 2023
1 parent b9e1360 commit 297aa70
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-integration-tests-mysql-skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: MySQL Cypress Integration Tests
on:
schedule:
- cron: '30 0 * * *'
pull_request:
pull_request_target:
types:
- labeled
- opened
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cypress-integration-tests-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
workflow_dispatch:
schedule:
- cron: '30 0 * * *'
pull_request:
pull_request_target:
types:
- labeled
- opened
Expand All @@ -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
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: PostgreSQL Cypress Integration Tests
on:
schedule:
- cron: '30 0 * * *'
pull_request:
pull_request_target:
types:
- labeled
- opened
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cypress-integration-tests-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
workflow_dispatch:
schedule:
- cron: '30 0 * * *'
pull_request:
pull_request_target:
types:
- labeled
- opened
Expand All @@ -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
)
Expand Down

0 comments on commit 297aa70

Please sign in to comment.