-
Notifications
You must be signed in to change notification settings - Fork 901
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update link-checker and clean up ignore-list (#6425)
Signed-off-by: Miki <[email protected]> (cherry picked from commit fa3bedb) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
- Loading branch information
1 parent
accdcf2
commit 95c8a65
Showing
5 changed files
with
140 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,21 +11,13 @@ on: | |
|
||
jobs: | ||
linkchecker: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Load Excludes | ||
run: | | ||
LYCHEE_EXCLUDE=$(sed -e :a -e 'N;s/\n/ --exclude /;ta' .lycheeexclude) | ||
echo "LYCHEE_EXCLUDE=$LYCHEE_EXCLUDE" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Lychee Link Checker | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
uses: lycheeverse/lychee-action@v1 | ||
with: | ||
args: --accept=200,403,429 --exclude ${{ env.LYCHEE_EXCLUDE }} --exclude-mail "**/*.html" "**/*.md" "**/*.txt" "**/*.json" "**/*.js" "**/*.ts" "**/*.tsx" | ||
fail: true | ||
args: --accept=200,403,429 --base . --retry-wait-time=15 --max-retries=5 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" "**/*.js" "**/*.ts" "**/*.tsx" | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: Fail if there were link errors | ||
run: exit ${{ steps.lychee.outputs.exit_code }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Copyright OpenSearch Contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Local or predefined end points | ||
localhost | ||
//opensearch | ||
//telemetry.*\.opensearch\.org/ | ||
https://api.github.com/repos/opensearch-project/OpenSearch-Dashboards/ | ||
file:///* | ||
git://* | ||
|
||
# Dummy urls in tests and examples | ||
//(www\.)?domain | ||
//foo | ||
//bar | ||
//test | ||
//notfound | ||
//asdf | ||
//elsewhere | ||
//build-?url | ||
//dev-url | ||
//some-url | ||
//validurl | ||
//path\.to/ | ||
//evil\.com/ | ||
//dryrun/ | ||
//codeload/ | ||
//user/ | ||
//www/ | ||
//url/ | ||
some.*host | ||
//node-.(:\d+)?/ | ||
//company\.net/ | ||
//noone\.nowhere\.none | ||
\.foobar/ | ||
opensearch\.org/painlessDocs | ||
//myexternaldep\.com | ||
//extenal\.org | ||
//mycloudinstance | ||
mysite\.com | ||
//fakeendpoint | ||
https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/ | ||
https://artifacts-api.opensearch.org/ | ||
https://on.cypress.io/ | ||
//\d+\.\d+\.\d+\.\d+(:\d+)?/ | ||
\.external: | ||
//myopensearch-dashboardsdomain\.com | ||
https://build.ci.opensearch.org/job/integ-test-opensearch-dashboards/ | ||
http://www.creedthoughts.gov | ||
//feeds(-staging)?\.opensearch\.org/ | ||
http://not-your-opensearch-dashboards.com/ | ||
my(other)?domain\.com | ||
|
||
|
||
|
||
# External urls | ||
https://connectionurl.com/ | ||
https://www.hostedgraphite.com/ | ||
http://google.com/ | ||
https://api.worldbank.org/ | ||
https://vega.github.io/ | ||
//twitter.com/ | ||
https://storage.googleapis.com/ | ||
http://tools.ietf.org/ | ||
//github.com/ | ||
//jsperf | ||
https://nodejs.org/ | ||
https://mirrors.nodejs.org/ | ||
https://www.npmjs.com/ | ||
https://microsoft.github.io/ | ||
http://api.worldbank.org/ | ||
https://f1542b814f674090afd914960583265f.apm.us-central1.gcp.cloud.es.io/ | ||
http://threedubmedia.googlecode.com/ | ||
https://developer.mozilla.org/ | ||
https://a.tile.openstreetmap.org/ | ||
https://media-for-the-masses.theacademyofperformingartsandscience.org/ | ||
https://forum.opensearch.org/ | ||
http://api.jquery.com/ | ||
http://brandonaaron.net/ | ||
https://oss-dependencies.opensearch.org/ | ||
https://tiles.maps.opensearch.org/ | ||
https://playground.opensearch.org/ | ||
http://threedubmedia.com/ | ||
https://gist.githubusercontent.com/ | ||
https://your-cdn-host.com/ | ||
https://unpkg.com/@elastic/ | ||
https://codeload.github.com/ | ||
https://www.quandl.com/api/v1/datasets/ | ||
https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi |
Oops, something went wrong.