Skip to content

Commit 61ac829

Browse files
committed
action: override TARGET_BRANCH for stable branches
1 parent f702b74 commit 61ac829

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ runs:
7373
if [[ "${{ inputs.conf_overrides }}" != "" ]]; then
7474
echo "${{ inputs.conf_overrides }}" >> local.conf
7575
fi
76+
77+
# Overriding target release for unmaintained versions
78+
# otherwide devstack will fail to clone some repos.
79+
TARGET_BRANCH=${{ inputs.branch }}
80+
if [[ "${{ inputs.branch }}" == *"yoga"* ]]; then
81+
TARGET_BRANCH="yoga-eom"
82+
fi
83+
echo "TARGET_BRANCH=${TARGET_BRANCH}" >> local.conf
7684
working-directory: ./devstack
7785
shell: bash
7886
- name: Run devstack

0 commit comments

Comments
 (0)