From 051f2dbc1bd90e070af09525dca9b65d35592e21 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 12 Apr 2023 19:59:22 +0000 Subject: [PATCH] Modify link checker to run once a week and not to run in forks (#3759) Signed-off-by: Fanit Kolchina (cherry picked from commit 82eb94811cc9f9b9fa6d90662a11c6c063c7920e) Signed-off-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