Skip to content

Commit 46d9e3b

Browse files
committed
update
1 parent 4cc9a4d commit 46d9e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
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"))' \
4848
# Use random delimiter for security reasons
4949
delimiter="$(openssl rand -hex 8)"
5050
echo "PARTIAL_FILES<<${delimiter}" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)