Remove pr bot

This commit is contained in:
Justin Maier
2026-02-05 13:40:31 -07:00
parent 1f22de446f
commit cc12913373
-30
View File
@@ -1,30 +0,0 @@
name: PR Bot Analysis
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
analyze:
name: Analyze PR
runs-on: ubuntu-latest
steps:
- name: Send to PR Bot
run: |
# Build the payload from GitHub context
PAYLOAD=$(cat << 'EOF'
${{ toJson(github.event) }}
EOF
)
# Calculate HMAC signature
SIGNATURE=$(echo -n "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.PR_BOT_WEBHOOK_SECRET }}" | awk '{print $2}')
# Send webhook to PR Bot
curl -L --post301 -X POST "${{ secrets.PR_BOT_WEBHOOK_URL }}/webhook/github" \
-H "Content-Type: application/json" \
-H "X-GitHub-Event: pull_request" \
-H "X-Hub-Signature-256: sha256=$SIGNATURE" \
-d "$PAYLOAD" \
--fail-with-body \
--max-time 30