File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ jobs:
100100 branch="https://github.com/$REPO_NAME/blob/$HEAD_REF"
101101
102102 merged_commit=$(git log -1 --format='%H')
103- changed_files="$(git diff --name-status --diff-filter=ARM $BASE_SHA ${merged_commit} | awk '/\.md$/ {print $NF}' | grep -Ev 'shape=' )"
104- png_lines=$(grep -Eo '\]\([^)]+\)' --include='*.md' -r .|grep -Ev 'http')
103+ changed_files="$(git diff --name-status --diff-filter=ARM $BASE_SHA ${merged_commit} | awk '/\.md$/ {print $NF}')"
104+ png_lines=$(grep -Eo '\]\([^)]+\)' --include='*.md' -r .|grep -Ev 'http' | grep -Ev 'shape=' )
105105 if [ -n "$png_lines" ]; then
106106 for png_line in $png_lines; do
107107 refer_path=$(echo "$png_line"|cut -d':' -f1 | cut -d'/' -f2-)
You can’t perform that action at this time.
0 commit comments