File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ name: Evals
22
33on :
44 pull_request :
5- branches : [main, develop]
6- paths :
7- - " packages/evals/**"
8- - " .github/workflows/evals*.yml"
5+ types : [labeled]
96 workflow_dispatch :
107
118env :
1411
1512jobs :
1613 evals :
14+ # Run if triggered manually or if PR has 'evals' label.
15+ if : github.event_name == 'workflow_dispatch' || contains(github.event.label.name, 'evals')
1716 runs-on : ubuntu-latest
1817 timeout-minutes : 30
1918
9190
9291 echo "Testing web service startup..."
9392 timeout 60 bash -c 'until curl -f http://localhost:3000/api/health 2>/dev/null; do echo "Waiting for web service..."; sleep 2; done'
94-
93+
9594 echo "✓ Web service is healthy"
9695 echo "Health check response:"
9796 curl -s http://localhost:3000/api/health | jq 2>/dev/null || curl -s http://localhost:3000/api/health
You can’t perform that action at this time.
0 commit comments