From 3870522228650ed242a29d5dc29d1a10a1270d4a Mon Sep 17 00:00:00 2001 From: Rabi Panda Date: Wed, 8 Sep 2021 11:24:19 -0700 Subject: [PATCH] Run link checker GitHub action on schedule. (#1221) Most PRs do not add/update links, however sites go down often. This change makes sure that we catch any broken link in the repository and fix it, but at the same time we do not want to block PRs because of some unrelated broken links. This PR updates the workflow to run everyday at midnight UTC. Signed-off-by: Rabi Panda --- .github/workflows/links.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 5e25e0f48b9..fb9752f58bd 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -1,10 +1,7 @@ name: Link Checker on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - + schedule: + - cron: '0 0 * * *' jobs: linkchecker: