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 4444 files=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
4545 -H "Accept: application/vnd.github.v3+json" \
4646 "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
47- jq -r '.[] | select(.status=="modified") | select (.filename | startswith("src/content/partials")) | select(.filename | endswith(".mdx"))' | \
47+ jq -r '.[] | select(.status=="modified") | select (.filename | startswith("src/content/partials")) | select(.filename | endswith(".mdx")) | .filename ' | \
4848 sed -e 's|^src/content/partials||' -e 's|\.mdx$|/|')
4949 # Use random delimiter for security reasons
5050 delimiter="$(openssl rand -hex 8)"
8484 for path in $CHANGED_FILES; do
8585 clean_path=$(echo "$path" | sed 's/"//g') # Remove quotation marks
8686 comment_body="$comment_body
87- - [ ] \`$clean_path\`"
87+ - [ ] \`$clean_path\`"
8888 done
8989 fi
9090
9696 This PR updates partial files, which are bits of content used across multiple files."
9797 for path in $PARTIAL_FILES; do
9898 comment_body="$comment_body
99- - [ ] \`$path\`"
99+ - [ ] \`$path\`"
100100 done
101101 fi
102102
You can’t perform that action at this time.
0 commit comments