Skip to content

Commit 9c0f050

Browse files
Add clarifying comment to input validation tests
Co-authored-by: joshjohanning <19912012+joshjohanning@users.noreply.github.com>
1 parent 6717b49 commit 9c0f050

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

__tests__/action.test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ test_input_validation() {
277277
echo "========================================"
278278

279279
# Test that at least one check must be enabled
280+
# Note: In action.yml, ${{ inputs.check-commits }} is evaluated to "true"/"false" strings
281+
# before the bash script runs, so we test with string literals here
282+
280283
# Simulate both checks disabled (this should fail)
281284
CHECK_COMMITS="false"
282285
CHECK_PR="false"

0 commit comments

Comments
 (0)