File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ inputs:
46
46
description : " Regular expression that is used to find words"
47
47
required : false
48
48
default : ' '
49
+ files :
50
+ description : " Files or directories to check"
51
+ required : false
52
+ default : ' '
49
53
runs :
50
54
using : ' docker'
51
55
image : ' Dockerfile'
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ echo "Regular expression that is used to find words: '${INPUT_SKIP}'"
48
48
if [ " x${INPUT_REGEX} " != " x" ]; then
49
49
command_args=" ${command_args} --regex ${INPUT_REGEX} "
50
50
fi
51
+ echo " Files or directories to check: '${INPUT_SKIP} '"
52
+ if [ " x${INPUT_FILES} " != " x" ]; then
53
+ command_args=" ${command_args} --regex ${INPUT_FILES} "
54
+ fi
51
55
echo " Resulting CLI options ${command_args} "
52
56
exec 5>&1
53
57
res=` { { codespell --count ${command_args} ${INPUT_PATH} ; echo $? 1>&4 ; } 1>&5 ; } 4>&1 `
You can’t perform that action at this time.
0 commit comments