mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 15:05:33 +00:00
* Added linter to add new line Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Fixed new lines Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Ignore empty files Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated DEVELOPER GUIDE Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Renamed workflow file Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Fixed failing tests Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
20 lines
534 B
YAML
20 lines
534 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}}
|