File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : E2E Tests
22
3- on : [pull_request, push, workflow_dispatch]
3+ on :
4+ pull_request :
5+ branches :
6+ - dev
7+ - main
8+ push :
9+ branches :
10+ - dev
11+ - main
12+ workflow_dispatch :
13+ schedule :
14+ # Daily at 10:00 UTC. GitHub Actions does not support local timezones for cron.
15+ - cron : " 0 10 * * *"
416
517# MaaS configuration - can be overridden with repository secrets for different environments
618env :
7688 timeout-minutes : 60
7789 needs : unit-tests
7890 # Skip this job for fork PRs since secrets are not available
79- if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
91+ if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
8092
8193 steps :
8294 - name : Checkout repository
@@ -511,7 +523,14 @@ jobs:
511523 timeout-minutes : 60
512524 needs : [unit-tests, integration-tests]
513525 # Skip this job for fork PRs since secrets are not available
514- if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
526+ if : |
527+ github.event_name == 'push' ||
528+ github.event_name == 'workflow_dispatch' ||
529+ github.event_name == 'schedule' ||
530+ (
531+ github.event_name == 'pull_request' &&
532+ github.event.pull_request.head.repo.full_name == github.repository
533+ )
515534
516535 steps :
517536 - name : Checkout repository
You can’t perform that action at this time.
0 commit comments