19 lines
533 B
YAML
19 lines
533 B
YAML
name: Link Checker
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
jobs:
|
|
linkchecker:
|
|
if: github.repository == 'opensearch-project/OpenSearch'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: lychee Link Checker
|
|
id: lychee
|
|
uses: lycheeverse/lychee-action@v1.2.0
|
|
with:
|
|
args: --accept=200,403,429 --exclude-mail **/*.html **/*.md **/*.txt **/*.json --exclude-file .lychee.excludes
|
|
fail: true
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |