Skip to content

Commit bacb17d

Browse files
committed
Trigger on label
1 parent 43a4110 commit bacb17d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/evals.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: Evals
22

33
on:
44
pull_request:
5-
branches: [main, develop]
6-
paths:
7-
- "packages/evals/**"
8-
- ".github/workflows/evals*.yml"
5+
types: [labeled]
96
workflow_dispatch:
107

118
env:
@@ -14,6 +11,8 @@ env:
1411

1512
jobs:
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

@@ -91,7 +90,7 @@ jobs:
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

0 commit comments

Comments
 (0)