fix: unbound variable error in schedule-record-workflow.sh

- Initialize INPUTS variable to prevent 'unbound variable' error
This commit is contained in:
Derek Higgins 2025-09-10 16:58:57 +01:00
parent 0e27016cf2
commit 0b75f63def

View file

@ -239,8 +239,9 @@ echo "Test pattern: ${TEST_PATTERN:-"(none)"}"
echo ""
# Prepare inputs for gh workflow run
INPUTS=
if [[ -n "$TEST_SUBDIRS" ]]; then
INPUTS="-f subdirs='$TEST_SUBDIRS'"
INPUTS="$INPUTS -f subdirs='$TEST_SUBDIRS'"
fi
if [[ -n "$TEST_SETUP" ]]; then
INPUTS="$INPUTS -f test-setup='$TEST_SETUP'"