Skip to content

Commit ed00d91

Browse files
authored
Merge pull request #16 from bcaton85/ci-redhat-3.16
ci: updating branch sync to use variable
2 parents 51966cb + 52a11bb commit ed00d91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/branch-sync.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
2222
- name: Merge master into release
2323
run: |
24-
BRANCH_NAME="redhat-3.15"
24+
BRANCH_NAME="${{ vars.BRANCH_SYNC_TARGET }}"
25+
if [ -z "$BRANCH_NAME" ]; then echo "BRANCH_SYNC_TARGET variable is not set" && exit 1; fi
2526
echo "Syncing master to $BRANCH_NAME"
2627
git checkout master
2728
git pull origin master

0 commit comments

Comments
 (0)