mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 09:47:00 +02:00
ci: Sanitize inputs before passing them to bash in test-evals-ai (#31348)
This commit is contained in:
parent
58155cefa7
commit
94f463ad28
10
.github/workflows/test-evals-ai.yml
vendored
10
.github/workflows/test-evals-ai.yml
vendored
|
|
@ -110,6 +110,10 @@ jobs:
|
|||
steps:
|
||||
- name: Set configuration based on trigger
|
||||
id: config
|
||||
env:
|
||||
BRANCH: ${{ inputs.branch || 'master' }}
|
||||
SPEC_REPETITIONS: ${{ inputs.spec_repetitions || '1' }}
|
||||
SPEC_JUDGES: ${{ inputs.spec_judges || '1' }}
|
||||
run: |
|
||||
EVENT_NAME="${{ github.event_name }}"
|
||||
|
||||
|
|
@ -124,9 +128,9 @@ jobs:
|
|||
else
|
||||
# Manual dispatch: use provided values for spec evals
|
||||
{
|
||||
echo "branch=${{ inputs.branch || 'master' }}"
|
||||
echo "spec_repetitions=${{ inputs.spec_repetitions || '1' }}"
|
||||
echo "spec_judges=${{ inputs.spec_judges || '1' }}"
|
||||
echo "branch=$BRANCH"
|
||||
echo "spec_repetitions=$SPEC_REPETITIONS"
|
||||
echo "spec_judges=$SPEC_JUDGES"
|
||||
echo "experiment_prefix=CI_manual"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user