File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1919 description : ' Repo to checkout (for spin overrides)'
2020 default : kernelkit/infix
2121 type : string
22+ infix_branch :
23+ description : ' Branch/tag/commit to checkout (for spin overrides)'
24+ default : ' '
25+ type : string
2226
2327 workflow_call :
2428 inputs :
3236 required : false
3337 type : string
3438 default : kernelkit/infix
39+ infix_branch :
40+ required : false
41+ type : string
42+ default : ' '
43+ description : ' Branch/tag/commit to checkout (for spin overrides). Defaults to github.ref if not specified'
3544 parallel :
3645 required : false
3746 type : boolean
5059 NAME : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.name || inputs.name }}
5160 TARGET : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target || inputs.target }}
5261 INFIX_REPO : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
62+ INFIX_BRANCH : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_branch || inputs.infix_branch }}
5363
5464jobs :
5565 build :
8292 uses : actions/checkout@v4
8393 with :
8494 repository : ${{ env.INFIX_REPO }}
85- ref : ${{ github.ref }}
95+ ref : ${{ env.INFIX_BRANCH != '' && env.INFIX_BRANCH || github.ref }}
8696 clean : true
8797 fetch-depth : 0
8898 submodules : recursive
Original file line number Diff line number Diff line change 88 required : false
99 default : kernelkit/infix
1010 type : string
11+ infix_branch :
12+ description : ' Branch/tag/commit to checkout (for spin overrides)'
13+ default : ' '
14+ type : string
1115
1216 workflow_call :
1317 inputs :
2125 required : false
2226 type : string
2327 default : kernelkit/infix
28+ infix_branch :
29+ required : false
30+ type : string
31+ default : ' '
32+ description : ' Branch/tag/commit to checkout (for spin overrides). Defaults to github.ref if not specified'
2433 ninepm-conf :
2534 required : false
2635 type : string
4251env :
4352 TARGET : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target || inputs.target }}
4453 INFIX_REPO : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
54+ INFIX_BRANCH : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_branch || inputs.infix_branch }}
4555 NINEPM_CONF : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ninepm-conf || inputs.ninepm-conf }}
4656 TEST_PATH : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.test-path || inputs.test-path }}
4757
6474 uses : actions/checkout@v4
6575 with :
6676 repository : ${{ env.INFIX_REPO }}
67- ref : ${{ github.ref }}
77+ ref : ${{ env.INFIX_BRANCH != '' && env.INFIX_BRANCH || github.ref }}
6878 clean : true
6979 fetch-depth : 0
7080 submodules : recursive
You can’t perform that action at this time.
0 commit comments