← back to Dw Signup Fulfillment
refresh-webhook.sh
12 lines
#!/usr/bin/env bash
# ⛔ DO NOT RUN — NEUTRALIZED 2026-09-02.
# This script was written on a WRONG diagnosis (webhook token mismatch). Functional tests
# proved the OPPOSITE: the live service's WEBHOOK_URL_TOKEN == the REGISTERED webhook token
# (...44e9c9) — POST with ...44e9c9 -> 200 (accepted), POST with ...f100e1 -> 401 (rejected).
# The earlier "...f100e1" reading came from the WRONG pid (pgrep|head -1 grabbed another proc).
# The webhook is CORRECT and WORKING. Deleting + re-registering with the secrets token
# (...f100e1) would install a token the live service REJECTS -> BREAK the working pipeline.
echo "⛔ ABORTED: refresh-webhook.sh is neutralized. The webhook is already correct + matched"
echo " (live token = ...44e9c9 = the registered one). Re-registering would BREAK it. Do nothing."
exit 1