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 11e75ef commit b93b1c3Copy full SHA for b93b1c3
.github/workflows/autocomment.yaml
@@ -50,7 +50,7 @@ jobs:
50
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
51
$FILES_URL \
52
| jq -r --arg prefix $BRANCH_NAME/ '.[] | select(((.filename | test("content/(?!.*embed).*\\.md")) and .status != "removed")) | ($prefix + .filename)' \
53
- | sed -E -e 's|(^[^/]+/)([^/]+/)|\1|' -e 's|^|https://redis.io/docs/staging/|' -e 's|(_?index)?\.md||' \
+ | sed -E -e 's|(^[^/]+/)([^/]+/)|\1|' -e 's|^|https://redis.io/docs/staging/|' -e 's|\/(_?index)?\.md|\/|' \
54
| sort \
55
| uniq)
56
0 commit comments