We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c7da5 commit ec04136Copy full SHA for ec04136
.github/workflows/redteam-scan.yml
@@ -37,6 +37,11 @@ jobs:
37
sleep 10
38
echo "Dev server started in background"
39
40
+ - name: Health check
41
+ run: |
42
+ curl -f http://localhost:${{ env.PORT }}/health || exit 1
43
+ echo "✅ Health check passed"
44
+
45
- name: Install dependencies
46
run: |
47
npm install -g promptfoo@latest
@@ -55,7 +60,7 @@ jobs:
55
60
56
61
- name: Run redteam
57
62
58
- promptfooredteam run -c "$SCAN_TEMPLATE_ID" -t "$TARGET_ID" \
63
+ promptfoo redteam run -c "$SCAN_TEMPLATE_ID" -t "$TARGET_ID" \
59
64
-c promptfooconfig.yaml \
65
--share \
66
-o results.json \
0 commit comments