fix: unbound variable error in schedule-record-workflow.sh (#3401)

- Initialize INPUTS variable to prevent 'unbound variable' error

Fixes:
./scripts/github/schedule-record-workflow.sh: line 246: INPUTS: unbound
variable │
This commit is contained in:
Derek Higgins 2025-09-10 19:54:10 +01:00 committed by GitHub
parent a6b1588dc6
commit e6edc1f934
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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