Skip to content

Commit 65123da

Browse files
authored
ci: Exclude LinkedIn URLs from link checker (#5461)
LinkedIn actively blocks automated crawlers, returning 404 for valid profiles. Add https://www.linkedin.com/.* to the lychee exclude list to prevent false-positive CI failures. Signed-off-by: Chen Dai <daichen@amazon.com>
1 parent c051220 commit 65123da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/link-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
id: lychee
1919
uses: lycheeverse/lychee-action@6da1d14f3a43098a294b7696d93d938aa8d20fc0 # master
2020
with:
21-
args: --accept=200,403,429,999 "./**/*.html" "./**/*.md" "./**/*.txt" --exclude "https://aws.oss.sonatype.*|https://ci.opensearch.*|https://central.sonatype.*|http://localhost.*|https://localhost|https://odfe-node1:9200/|https://community.tableau.com/docs/DOC-17978|.*family.zzz|opensearch*|.*@amazon.com|.*email.com|.*@github.com|http://timestamp.verisign.com/scripts/timstamp.dll"
21+
args: --accept=200,403,429,999 "./**/*.html" "./**/*.md" "./**/*.txt" --exclude "https://aws.oss.sonatype.*|https://ci.opensearch.*|https://central.sonatype.*|http://localhost.*|https://localhost|https://odfe-node1:9200/|https://community.tableau.com/docs/DOC-17978|.*family.zzz|opensearch*|.*@amazon.com|.*email.com|.*@github.com|http://timestamp.verisign.com/scripts/timstamp.dll|https://www.linkedin.com/.*"
2222
env:
2323
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2424
- name: Fail if there were link errors

0 commit comments

Comments
 (0)