Update .github/workflows/webhook-caller.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4e89c1fab0
commit
52562b10d7
2
.github/workflows/webhook-caller.yml
vendored
2
.github/workflows/webhook-caller.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
idx=1
|
||||
for url in "${URLS[@]}"; do
|
||||
if [[ "$url" =~ ^https:// ]]; then
|
||||
if ! curl -f --max-time 30 --retry 3 -X POST "$url"; then
|
||||
if ! curl -f --max-time 30 --retry 3 --silent --show-error -X POST -H "User-Agent: webhook-caller" -H "Content-Type: application/json" "$url"; then
|
||||
echo "Webhook call failed for URL '$url' at index $idx" >&2
|
||||
fi
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user