diff --git a/.github/workflows/sync-lightspeed-configs.yaml b/.github/workflows/sync-lightspeed-configs.yaml index 1da0a3a3..f030825c 100644 --- a/.github/workflows/sync-lightspeed-configs.yaml +++ b/.github/workflows/sync-lightspeed-configs.yaml @@ -78,7 +78,12 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - name: Sync Lightspeed Core config files - run: ./hack/sync-lightspeed-configs.sh --ref ${{ matrix.branch }} + run: | + if [[ "${{ matrix.branch }}" == "release-1.10" ]]; then + ./hack/sync-lightspeed-configs.sh --repo redhat-ai-dev/lightspeed-configs --ref ${{ matrix.branch }} + else + ./hack/sync-lightspeed-configs.sh --ref ${{ matrix.branch }} + fi - name: Check for changes id: changes @@ -127,6 +132,11 @@ jobs: run: | TITLE="chore(intelligent-assistant): sync Lightspeed Core config files and bump chart to ${NEW_VERSION}" BRANCH="chore/sync-lightspeed-configs-${TARGET_BRANCH}" + TARGET_REPO="redhat-developer/rhdh-intelligent-assistant-configs" + + if [[ "${TARGET_BRANCH}" == "release-1.10" ]]; then + TARGET_REPO="redhat-ai-dev/lightspeed-configs" + fi EXISTING_PR=$(gh pr list --head "${BRANCH}" --base "${TARGET_BRANCH}" --state open --json number --jq '.[0].number // empty') @@ -148,7 +158,7 @@ jobs: SYNCED_FILES=$(git diff --name-only HEAD~1 -- "${FILES_DIR}" | sed 's/^/- `/;s/$/`/') BODY=$(cat <