diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index cbc6dbec1..4fc1e228c 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -18,7 +18,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@master with: - args: --accept=200,403,429,999 "./**/*.html" "./**/*.md" "./**/*.txt" --exclude "https://aws.oss.sonatype.*" "http://localhost*" "https://localhost" "https://odfe-node1:9200/" "https://community.tableau.com/docs/DOC-17978" ".*family.zzz" "https://pypi.python.org/pypi/opensearchsql/" "opensearch*" ".*@amazon.com" ".*email.com" "git@github.com" "http://timestamp.verisign.com/scripts/timstamp.dll" ".*/PowerBIConnector/bin/Release" + args: --accept=200,403,429,999 --exclude-mail **/*.html **/*.md **/*.txt --exclude-file .lychee.excludes env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Fail if there were link errors diff --git a/.lychee.excludes b/.lychee.excludes new file mode 100644 index 000000000..bd98eac05 --- /dev/null +++ b/.lychee.excludes @@ -0,0 +1,13 @@ +https://aws.oss.sonatype.* +http://localhost.* +https://localhost.* +https://odfe-node1:9200/.* +https://community.tableau.com/docs/DOC-17978 +.*family.zzz +https://pypi.python.org/pypi/opensearchsql/.* +opensearch.* +.*@amazon.com +.*email.com +.*git@github.com.* +http://timestamp.verisign.com/scripts/timstamp.dll.* +.*\/PowerBIConnector\/bin\/Release \ No newline at end of file