mirror of
https://github.com/tiennm99/awesome-readme-tools.git
synced 2026-10-11 14:13:21 +00:00
29 lines
650 B
YAML
29 lines
650 B
YAML
name: Check Markdown Links
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "README.md"
|
|
pull_request:
|
|
paths:
|
|
- "README.md"
|
|
|
|
jobs:
|
|
markdown-link-check:
|
|
name: Check for broken links
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: main
|
|
- name: Run link check
|
|
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
with:
|
|
base-branch: main
|
|
use-quiet-mode: 'no'
|
|
use-verbose-mode: 'yes'
|
|
check-modified-files-only: 'yes'
|
|
config-file: '.github/workflows/markdown.links.config.json' |