Revert to merge strategy and separate SFTP folders per channel

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-05 08:31:22 +00:00
parent 7b02756587
commit 6c04a90261

View File

@@ -755,9 +755,9 @@ else:
SUFFIX="${FTP_PATH_SUFFIX:-}"
if [ -n "${SUFFIX}" ]; then
REMOTE_PATH="${FTP_PATH%/}/${SUFFIX%/}"
REMOTE_PATH="${FTP_PATH%/}/${SUFFIX%/}/${CHANNEL}"
else
REMOTE_PATH="${FTP_PATH%/}"
REMOTE_PATH="${FTP_PATH%/}/${CHANNEL}"
fi
AUTH_MODE="password"
@@ -1007,7 +1007,7 @@ else:
--body "Automated PR created by release pipeline. Version branch is retained by policy." \
|| true
- name: Attempt to merge PR (best effort, squash merge)
- name: Attempt to merge PR (best effort)
env:
GH_TOKEN: ${{ github.token }}
run: |
@@ -1021,7 +1021,7 @@ else:
exit 1
fi
gh pr merge "${PR_NUMBER}" --squash --delete-branch=false \
gh pr merge "${PR_NUMBER}" --merge --delete-branch=false \
|| echo "PR merge blocked by branch protection or policy" >> "${GITHUB_STEP_SUMMARY}"
- name: Report run context (always)