File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ inputs:
21
21
description : ' Target branch for comparison'
22
22
required : true
23
23
output_format :
24
- description : ' Output format for documentation files (.md or .rst )'
24
+ description : ' Output format for documentation files (.md, .rst, or .html )'
25
25
required : false
26
26
default : ' .md'
27
27
@@ -311,8 +311,8 @@ runs:
311
311
OUTPUT_FORMAT="${{ inputs.output_format }}"
312
312
313
313
# Validate output format
314
- if [[ "$OUTPUT_FORMAT" != ".md" && "$OUTPUT_FORMAT" != ".rst" ]]; then
315
- echo "Error: Invalid output format '$OUTPUT_FORMAT'. Must be either '.md' or '.rst '"
314
+ if [[ "$OUTPUT_FORMAT" != ".md" && "$OUTPUT_FORMAT" != ".rst" && "$OUTPUT_FORMAT" != ".html" ]]; then
315
+ echo "Error: Invalid output format '$OUTPUT_FORMAT'. Must be either '.md', '.rst', or '.html '"
316
316
exit 1
317
317
fi
318
318
You can’t perform that action at this time.
0 commit comments