File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 63
63
description : Git version of https://github.com/stackhpc/stackhpc-cloud-tests to use for testing
64
64
type : string
65
65
default : main
66
- called_from_external :
67
- description : Set if using the workflow from an external repository
68
- type : boolean
69
- default : false
70
66
repository :
71
- description : SKC repository to checkout (convenience for CI)
67
+ description : SKC repository to checkout (convenience for external CI)
72
68
type : string
73
69
default : ${{ github.repository }}
74
- external_ref_override :
75
- description : Git ref to checkout, only used if called_from_external is true
70
+ github_ref :
71
+ description : Git ref to checkout (convenience for external CI)
76
72
type : string
77
73
default : ${{ github.ref }}
78
74
secrets :
@@ -111,7 +107,7 @@ jobs:
111
107
uses : actions/checkout@v4
112
108
with :
113
109
repository : ${{ inputs.repository }}
114
- ref : ${{ inputs.upgrade && env.PREVIOUS_BRANCH || inputs.called_from_external && inputs.external_ref_override || github.ref }}
110
+ ref : ${{ inputs.upgrade && env.PREVIOUS_BRANCH || inputs.github_ref }}
115
111
submodules : true
116
112
117
113
- name : Output Kayobe image
@@ -385,6 +381,7 @@ jobs:
385
381
uses : actions/checkout@v4
386
382
with :
387
383
repository : ${{ inputs.repository }}
384
+ ref : ${{ inputs.github_ref }}
388
385
submodules : true
389
386
clean : false
390
387
if : inputs.upgrade
You can’t perform that action at this time.
0 commit comments