File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1313 branches : [main, master]
1414 pull_request :
1515 branches : [main, master]
16- workflow_dispatch : # Allow manual trigger
16+ workflow_dispatch :
17+ inputs :
18+ e2e_tests_ref :
19+ description : ' Branch or ref of sdk-e2e-tests to use'
20+ required : false
21+ default : ' main'
1722
1823jobs :
1924 e2e-tests :
25+ # Skip on fork PRs where repo secrets aren't available
26+ if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
2027 runs-on : ubuntu-latest
2128
2229 steps :
2936 uses : actions/checkout@v4
3037 with :
3138 repository : segmentio/sdk-e2e-tests
39+ ref : ${{ inputs.e2e_tests_ref || 'main' }}
3240 token : ${{ secrets.E2E_TESTS_TOKEN }}
3341 path : sdk-e2e-tests
3442
Original file line number Diff line number Diff line change 11{
22 "sdk" : " browser" ,
3- "test_suites" : " basic" ,
3+ "test_suites" : " basic,settings " ,
44 "auto_settings" : true ,
55 "patch" : " analytics-browser-http.patch" ,
66 "env" : {
7- "BROWSER_BATCHING" : " false"
7+ "BROWSER_BATCHING" : " false" ,
8+ "SETTINGS_ERROR_FALLBACK" : " false"
89 }
910}
You can’t perform that action at this time.
0 commit comments