GitHub check

Whole log, 4 KB
Current runner version: '2.338.0'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261012.601
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {81d2619e-0e00-4d70-96c0-f7c86a6afdfb}
Region: westus3
Cloud: Azure
▸ Operating System
Ubuntu
24.04.5
LTS
▸ Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
▸ GITHUB_TOKEN Permissions
Contents: read
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: POST to Cursor
▸ Run set -euo pipefail
set -euo pipefail
if [ -z "${URL:-}" ] || [ -z "${AUTH:-}" ]; then
  echo "Missing CURSOR_T3CODE_WEBHOOK_URL or CURSOR_T3CODE_WEBHOOK_AUTH — skipping."
  exit 0
fi
for attempt in 1 2 3; do
  curl_status=0
  http_status=$(curl -fsS --max-time 60 -X POST "$URL" \
    --output /dev/null --write-out '%{http_code}' \
    -H "Authorization: $AUTH" \
    -H "Content-Type: application/json" \
    -H "X-GitHub-Event: pull_request" \
    -H "X-GitHub-Delivery: 39765238420-1" \
    --data-binary @"/home/runner/work/_temp/_github_workflow/event.json") || curl_status=$?
  if [ "$curl_status" -eq 0 ]; then
    exit 0
  fi
  if [ "$GITHUB_REF" != "refs/heads/main" ] || \
     [ "$curl_status" -ne 22 ] || [ "$http_status" != "400" ] || \
     [ "$attempt" -eq 3 ]; then
    exit "$curl_status"
  fi
  echo "Cursor webhook returned HTTP 400; retrying in 5 seconds ($attempt/2)."
  sleep 5
done
shell: /usr/bin/bash -e {0}
env:
  URL: ***
  AUTH: ***
curl: (22) The requested URL returned error: 400
Error: Process completed with exit code 22.
Cleaning up orphan processes