Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/load-test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Load Test PoC
on:
push:
branches:
pull_request:
branches: [main]
# push:
# branches:

jobs:
deploy-and-test:
Expand Down Expand Up @@ -75,6 +77,7 @@ jobs:
COMMENT="Load test results:\n- Avg latency: ${AVG_LATENCY}ms\n- Success rate: ${SUCCESS_RATE}%"
echo "$COMMENT" # Debug output
curl -X POST \
-H "Authorization: Bearer ${{ secrets.MY_GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-d "{\"body\":\"$COMMENT\"}" \
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" \
Expand Down