Skip to content

Commit d5dc1db

Browse files
committed
update
1 parent 54c10a5 commit d5dc1db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/potential-redirects-or-partials.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
-H "Accept: application/vnd.github.v3+json" \
4646
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
4747
jq -r '.[] | select(.status=="modified") | select (.filename | startswith("src/content/partials")) | select(.filename | endswith(".mdx"))' | \
48+
sed -e 's|^src/content/partials||' -e 's|\.mdx$|/|')
4849
# Use random delimiter for security reasons
4950
delimiter="$(openssl rand -hex 8)"
5051
echo "PARTIAL_FILES<<${delimiter}" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)