Skip to content

Commit c05c49e

Browse files
committed
Ignoring links that don't pass the linter.
1 parent 4ba3137 commit c05c49e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/doc-preview-notification.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ jobs:
152152
commentBody += `- Longer than usual build times\n`;
153153
commentBody += `- Build failures\n`;
154154
commentBody += `- Infrastructure issues\n\n`;
155-
commentBody += `Please check the [workflow runs](https://github.com/${context.repo.owner}/${context.repo.repo}/actions) for more details.`;
155+
// lychee-ignore
156+
commentBody += `Please check the workflow runs in the Actions tab for more details.`;
156157
157158
await github.rest.issues.createComment({
158159
owner: context.repo.owner,

.lycheeignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ http://localhost:6006
1515

1616
# Ignore local host link from advanced_source/cpp_frontend.rst
1717
https://www.uber.com/blog/deep-neuroevolution/
18+
19+
# Ignore dynamic URLs in GitHub Actions workflow (contains template variables)
20+
https://docs-preview.pytorch.org/pytorch/tutorials/\$\{PR_NUMBER\}/.*
21+
https://github.com/\$\{context\.repo\.owner\}/\$\{context\.repo\.repo\}/actions

0 commit comments

Comments
 (0)