Skip to content

Commit 89f8527

Browse files
committed
Switched endpoint to be a secret
1 parent 266d88e commit 89f8527

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/test_evaluation_function.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ name: Endpoint Validation Test
44
on:
55
workflow_call:
66
inputs:
7-
endpoint:
8-
description: 'API Endpoint URL to test'
9-
required: true
10-
type: string
117
eval_function:
128
description: 'Evaluation Function Name'
139
required: true
@@ -19,6 +15,10 @@ on:
1915
default: 1000
2016
secrets:
2117
# Explicitly declare the secrets the reusable workflow needs
18+
TEST_API_ENDPOINT:
19+
description: 'API Endpoint URL to test'
20+
required: false
21+
type: string
2222
DB_USER:
2323
required: false
2424
DB_PASSWORD:
@@ -62,7 +62,6 @@ jobs:
6262

6363
run: |
6464
# 1. Prepare event payload as JSON for the lambda_handler
65-
# Removed recipient_email from payload
6665
EVENT_PAYLOAD='{
6766
"endpoint": "${{ inputs.endpoint }}",
6867
"eval_function_name": "${{ inputs.eval_function }}",

0 commit comments

Comments
 (0)