add workflow

This commit is contained in:
Dhyey committed 2021-02-28 18:18:23 +05:30
1 parent 5bafaaf288
commit 34f9048323
1 file changed
+27
+27
View File
@@ -0,0 +1,27 @@
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:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'