Files
opensearch-pyd/.github/workflows/links.yml
T
Vacha Shah 035b472650 Adding link checker workflow (#180)
* Adding link checker workflow

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Using the latest version for lycheeverse

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Fixing links

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Fixing test failures due to asyncio

Signed-off-by: Vacha Shah <vachshah@amazon.com>
2022-07-21 11:06:37 -07:00

25 lines
530 B
YAML

name: Link Checker
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
linkchecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: lychee Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.5.0
with:
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude-mail
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}