You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/cpflow-help.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@
44
44
45
45
- Review apps are opt-in and created with `/deploy-review-app`
46
46
- New commits redeploy existing review apps automatically
47
+
- Slash command workflows run from the default branch until merged. Test PR-branch edits with `gh workflow run cpflow-deploy-review-app.yml --ref <branch> -f pr_number=<pr-number>`.
47
48
- Pushes to the staging branch deploy staging automatically
48
49
- Promotion to production is manual via the Actions tab
message="Review app deploys from fork pull requests require a branch in ${GITHUB_REPOSITORY}. This workflow builds Docker images with repository secrets, so comment-triggered deploys only run for branches in the base repository."
150
152
{
151
153
echo "Review app deploys from fork pull requests require a branch in ${GITHUB_REPOSITORY}."
152
154
echo "This workflow builds Docker images with repository secrets, so comment-triggered deploys only run for branches in the base repository."
153
155
} >> "$GITHUB_STEP_SUMMARY"
156
+
if ! gh pr comment "${PR_NUMBER}" --body "${message}"; then
157
+
echo "::warning::Could not post fork-PR deployment rejection comment."
# Best-effort rollback: try every workload, aggregate failures, exit non-zero at the end
289
291
# if any failed. A single cpln hiccup shouldn't leave other workloads mid-promotion.
292
+
# Intentionally omit -e so one workload failure does not skip the rest.
290
293
set -uo pipefail
291
294
295
+
echo "::warning::Rollback restores workload images only. Database migrations and release_script side effects are not reversed; verify database state manually before re-promoting."
296
+
292
297
rollback_failures=0
293
298
if ! rollback_entries="$(echo "${ROLLBACK_STATE}" | jq -r 'to_entries[] | "\(.key)\t\(.value.containers | @json)"')"; then
294
299
echo "::error::Could not parse rollback state; manual recovery may be required." >&2
0 commit comments