Skip to content

Commit fee6ce9

Browse files
committed
Handle fork review app comments cleanly
1 parent c218e38 commit fee6ce9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/cpflow-deploy-review-app.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ jobs:
137137
if ! gh pr comment "${PR_NUMBER}" --body "${message}"; then
138138
echo "Failed to post fork rejection comment to PR #${PR_NUMBER}" >&2
139139
fi
140+
echo "allowed=false" >> "$GITHUB_OUTPUT"
141+
echo "${message}" >> "$GITHUB_STEP_SUMMARY"
142+
exit 0
140143
fi
141144
142145
echo "${message}" >&2

0 commit comments

Comments
 (0)