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.
This commit is contained in:
Zach Wasserman 2022-02-01 18:02:37 -08:00 committed by GitHub
parent 884284adef
commit a5b2e60075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: