We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c10a5 commit d5dc1dbCopy full SHA for d5dc1db
.github/workflows/potential-redirects-or-partials.yml
@@ -45,6 +45,7 @@ jobs:
45
-H "Accept: application/vnd.github.v3+json" \
46
"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"))' | \
48
+ sed -e 's|^src/content/partials||' -e 's|\.mdx$|/|')
49
# Use random delimiter for security reasons
50
delimiter="$(openssl rand -hex 8)"
51
echo "PARTIAL_FILES<<${delimiter}" >> "$GITHUB_ENV"
0 commit comments