From 82e40da550dbd50582b0d7dae0fee2ecd8acdd53 Mon Sep 17 00:00:00 2001 From: Jason Boxman Date: Wed, 14 Aug 2024 20:51:59 -0400 Subject: [PATCH] Add external links to ignore list --- .github/workflows/links.yml | 3 +++ lychee.toml | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 8c8b4594b..c81bae7c0 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -15,6 +15,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Omit files + run: find platform_versioned_docs -type f \( -name 'README.mdx' -o -name '_todo.mdx' \) -exec rm {} + + - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v1 diff --git a/lychee.toml b/lychee.toml index 4b9f1dfaa..e642e9a10 100644 --- a/lychee.toml +++ b/lychee.toml @@ -2,9 +2,10 @@ scheme = ["https", "http"] exclude = [ '^https://portal.azure.com/', - '^https://gitlab.com/profile/personal_access_tokens' -] -exclude_path = [ - "^.+/README.mdx", - "^.+/_todo.mdx" + '^https://gitlab.com/profile/personal_access_tokens', + '^https://my.bitbucketserver.com/path/to/pipeline/repo', + '^https://github.com/organizations/', + '^https://github.com/pipeline-repo', + '^https://api.tower.nf/ephemeral/example.json', + '^https://api.cloud.seqera.io/workflow/launch' ]