File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,17 @@ jobs:
409
409
test_build_url : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
410
410
test_build_ref : ${{ github.head_ref || github.ref }}
411
411
412
+ workspace-integration-tests-main :
413
+ name : " Run workspace integration tests on main branch"
414
+ needs :
415
+ - configuration
416
+ - build-gitpod
417
+ - create-runner
418
+ # if: needs.configuration.outputs.is_main_branch == 'true'
419
+ uses : ./.github/workflows/workspace-integration-tests.yml
420
+ with :
421
+ version : ${{ needs.configuration.outputs.version }}
422
+
412
423
delete-runner :
413
424
if : always()
414
425
needs :
Original file line number Diff line number Diff line change 1
1
name : " Workspace integration tests"
2
2
on :
3
- push :
4
- branches :
5
- - main
6
3
workflow_dispatch :
7
4
inputs :
8
5
name :
9
6
required : false
7
+ type : string
10
8
description : " The name of the preview environment, or leave empty to use a default name"
11
9
version :
12
10
required : false
11
+ type : string
13
12
description : " The version of Gitpod to install (leave empty to target the latest successful build on main)"
14
13
skip_deploy :
15
14
required : false
19
18
required : false
20
19
type : boolean
21
20
description : " Skip delete preview environment (debug only)"
21
+ workflow_call :
22
+ inputs :
23
+ name :
24
+ required : false
25
+ type : string
26
+ description : " The name of the preview environment, or leave empty to use a default name"
27
+ version :
28
+ required : false
29
+ type : string
30
+ description : " The version of Gitpod to install (leave empty to target the latest successful build on main)"
22
31
schedule :
23
32
- cron : " 0 3,12 * * *"
24
33
You can’t perform that action at this time.
0 commit comments