Skip to content

Commit a1c7d05

Browse files
Adding branch selector to dev Converter action (#1178)
* Giving the option to choose converter branch when converting to dev labs * Update DevGuideConverterAction.yml * Update DevGuideConverterAction.yml
1 parent 13ed78d commit a1c7d05

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/DevGuideConverterAction.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ on:
1313
guide_branch:
1414
description: 'Guide branch'
1515
required: true
16-
default: 'refs/heads/name-patch-1'
16+
default: 'refs/heads/staging'
17+
converter_branch:
18+
description: 'Converter branch'
19+
required: true
20+
default: 'refs/heads/main'
1721

1822
jobs:
1923
printBranch:
@@ -26,6 +30,7 @@ jobs:
2630
echo "${{ github.event.inputs.guide_name }}"
2731
echo "${{ github.event.inputs.guide_branch }}"
2832
echo "${{ github.event.inputs.devGuide }}"
33+
echo "${{ github.event.inputs.converter_branch }}"
2934
3035
3136
convertToDevelopmentLab:
@@ -41,6 +46,7 @@ jobs:
4146
- name: Checkout Guide Converter repo
4247
uses: actions/checkout@v2
4348
with:
49+
ref: ${{ github.event.inputs.converter_branch }}
4450
repository: OpenLiberty/cloud-hosted-guide-converter
4551
path: GuideConverter
4652

0 commit comments

Comments
 (0)