File tree 4 files changed +7
-4
lines changed
4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Test with ignore directory argument
2
- on : workflow_dispatch
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' main'
3
6
jobs :
4
7
formatter :
5
8
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 30
30
- name : Running the formatter
31
31
shell : bash
32
32
run : |
33
- python ./build_directory_md.py ${{ inputs.language }} ${{ inputs.working-directory }} ${{ inputs.filetypes }} ${{ inputs.ignored-directories }} ${{ inputs.ignore-folders-children }} > DIRECTORY.md
33
+ python .. /build_directory_md.py ${{ inputs.language }} ${{ inputs.working-directory }} ${{ inputs.filetypes }} ${{ inputs.ignored-directories }} ${{ inputs.ignore-folders-children }} > DIRECTORY.md
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ str_value2="$2"
23
23
fi
24
24
25
25
IFS=$' \n ' ; set -f
26
- for fname in $( find $1 -type f -name " * $str_value2 " -or -name " * $str_value " )
26
+ for fname in ` find $1 -type f -name " $str_value2 " -o -name " $str_value " `
27
27
do
28
28
ignored_files=" $( echo " $3 " | tr " ," " \n" ) "
29
29
Original file line number Diff line number Diff line change 20
20
- name : Running the formatter
21
21
shell : bash
22
22
run : |
23
- filename_formatter.sh ${{ inputs.working-directory }} ${{ inputs.filetypes }} ${{ inputs.ignore-files }}
23
+ ../ filename_formatter.sh ${{ inputs.working-directory }} ${{ inputs.filetypes }} ${{ inputs.ignore-files }}
You can’t perform that action at this time.
0 commit comments