diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml new file mode 100644 index 000000000..c072e4e25 --- /dev/null +++ b/.github/workflows/links.yml @@ -0,0 +1,17 @@ +name: Links + +on: + push: + pull_request: + +jobs: + linkChecker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Link Checker + uses: lycheeverse/lychee-action@v1 + with: + fail: true + args: --base . --verbose --no-progress './**/*.yaml' './**/*.yml' './**/*.md' './**/*.json' './**/*.ts' --exclude-path ./tools/package-lock.json diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 000000000..f437ebb39 --- /dev/null +++ b/.lycheeignore @@ -0,0 +1 @@ +https://localhost:9200* diff --git a/coverage/README.md b/coverage/README.md index 53babbecb..89ae4e76b 100644 --- a/coverage/README.md +++ b/coverage/README.md @@ -2,4 +2,4 @@ Builds the OpenAPI spec, and uses the [opensearch-api plugin](https://github.com/dblock/opensearch-api) and [openapi-diff](https://github.com/OpenAPITools/openapi-diff) to show the differences. -API coverage is run on all pull requests via the [coverage workflow](../.github/workflows/coverage.yml). +API coverage is run on all pull requests via the [coverage workflow](../.github/workflows/coverage-gather.yml).