mirror of
https://github.com/fleetdm/fleet
synced 2026-05-14 12:38:41 +00:00
Only check on changes to .md files, nightly, and on manual trigger. This was generating a lot of false positives in CI.
21 lines
629 B
YAML
21 lines
629 B
YAML
name: Check for bad links in documentation
|
|
|
|
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:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976 # v1.0.13
|
|
with:
|
|
use-quiet-mode: 'yes'
|
|
config-file: .github/workflows/markdown-link-check-config.json
|
|
base-branch: ${{ github.base_ref }}
|