Skip to content

Commit a1a6027

Browse files
committed
Revert "Warn reviewers to verify preview URL before clicking"
This reverts commit cdb13a2.
1 parent f385384 commit a1a6027

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/preview-docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,11 @@ jobs:
140140
echo "| Lifetime | $DURATION_MINUTES min |"
141141
echo ""
142142
echo "The link goes dead when this job ends."
143-
echo ""
144-
echo "> :warning: Please double-check the URL before clicking. The preview runs on a one-time public tunnel — confirm the link in this summary matches the one in any PR comment, and make sure it points to \`trycloudflare.com\`."
145143
} >> "$GITHUB_STEP_SUMMARY"
146144
147145
if [ -n "$PR_NUMBER" ]; then
148-
BODY=$(printf '**Docs preview:** %s\n\nProduct: `%s` · Ref: `%s` · Live for %s min.\n\n> :warning: Please double-check the URL before clicking. Confirm it matches the link in the [workflow run summary](%s/actions/runs/%s) and that it points to `trycloudflare.com`.\n\n_Triggered by @%s via the Preview Docs workflow._' \
149-
"$URL" "$PRODUCT" "$RESOLVED_REF" "$DURATION_MINUTES" "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" "$GITHUB_RUN_ID" "$GITHUB_ACTOR")
146+
BODY=$(printf '**Docs preview:** %s\n\nProduct: `%s` · Ref: `%s` · Live for %s min.\n\n_Triggered by @%s via the Preview Docs workflow._' \
147+
"$URL" "$PRODUCT" "$RESOLVED_REF" "$DURATION_MINUTES" "$GITHUB_ACTOR")
150148
gh pr comment "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --body "$BODY" || \
151149
echo "::warning::Failed to post PR comment (continuing anyway)."
152150
fi

0 commit comments

Comments
 (0)