From a5b2e60075bf0b2cc6d0dca580e612f3dd33c189 Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Tue, 1 Feb 2022 18:02:37 -0800 Subject: [PATCH] Update triggers for link check Action (#3972) Only check on changes to .md files, nightly, and on manual trigger. This was generating a lot of false positives in CI. --- .github/workflows/docs.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6f5284dd4..3060323da 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,13 @@ name: Check for bad links in documentation -on: [ pull_request] +on: + pull_request: + paths: + # Only run on changes to .md files -- this check is too flakey to run on every PR + - '**.md' + workflow_dispatch: # Manual + schedule: + - cron: '0 6 * * *' # Nightly 6AM UTC jobs: markdown-link-check: