From 0ccd205d4c523dd6c1de4fab211faead1e73bced Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 13 Apr 2023 11:20:48 -0500 Subject: [PATCH] Modify link checker to run once a week and not to run in forks (#3759) (#3767) (cherry picked from commit 82eb94811cc9f9b9fa6d90662a11c6c063c7920e) Signed-off-by: Fanit Kolchina Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .github/workflows/link-checker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 2cd3ca7cd8..1940a03581 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -2,9 +2,10 @@ name: Check Links on: workflow_dispatch: schedule: - - cron: "30 11 * * *" + - cron: "30 11 * * 0" jobs: check: + if: github.repository == ‘opensearch-project/documentation-website’ runs-on: ubuntu-latest steps: - uses: actions/checkout@v3