Skip to content

Add research-agent-team tutorial (agent-teams pillar) #28

Add research-agent-team tutorial (agent-teams pillar)

Add research-agent-team tutorial (agent-teams pillar) #28

name: Trigger tbw-ai PR review
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'entries/**'
env:
REVIEW_URL: https://thebuilderweekly.com/api/cues/review-tutorial-pr
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Trigger review pipeline
run: |
RESP=$(curl -s -w "
%{http_code}" -X POST \

Check failure on line 19 in .github/workflows/review-tutorial-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/review-tutorial-pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
"$REVIEW_URL" \
-H "Content-Type: application/json" \
-d "{\"prNumber\": ${{ github.event.pull_request.number }}}")
HTTP_CODE=$(echo "$RESP" | tail -1)
BODY=$(echo "$RESP" | head -n -1)
echo "HTTP Status: $HTTP_CODE"
echo "Response: $BODY"
if [ "$HTTP_CODE" -ge 400 ]; then
echo "::error::Review pipeline returned HTTP $HTTP_CODE"
exit 1
fi