Modify link checker to run once a week and not to run in forks (#3759)

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-04-12 15:58:42 -04:00 committed by GitHub
parent fa643f9040
commit 82eb94811c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2,9 +2,10 @@ name: Check Links
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: "30 11 * * *" - cron: "30 11 * * 0"
jobs: jobs:
check: check:
if: github.repository == opensearch-project/documentation-website
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3