From 89df40dfdcea9caeb6e126c0aed2d19a71cdf152 Mon Sep 17 00:00:00 2001 From: Krishna babu <120018777+Krish-2505@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:19:18 +0530 Subject: [PATCH] Update links.yml Signed-off-by: Krishna babu <120018777+Krish-2505@users.noreply.github.com> --- .github/workflows/links.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 70749934e..94ca1dd49 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -14,11 +14,16 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Remove symlink + run: rm docs/source/README.md - name: lychee Link Checker id: lychee uses: lycheeverse/lychee-action@v1.5.0 with: - args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude-mail + args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude "file:///home/runner/work/opensearch-py/opensearch-py/docs/source/README.md" --exclude-mail fail: true env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Restore symlink + if: always() + run: ln -s ../../README.md docs/source/README.md