gaurav-nelson / github-action-markdown-link-check

Check all links in markdown files if they are alive or dead. 🔗✔️
MIT License
413 stars 76 forks source link

Skip a folder #103

Open luiscachog opened 3 years ago

luiscachog commented 3 years ago

Hello!

I'm using this Github action on a Hugo blog. But I want to skip a complete folder. For this case /themes and all the content.

tree . -L 2
.
├── CODEOWNERS
├── LICENSE
├── README.md
├── archetypes
├── config
├── content
│   ├── about
│   ├── authors
│   ├── blog
│   ├── post
│   └── terms.md
├── data
├── layouts
├── netlify.toml
├── static
│   └── media
├── themes
│   └── academic
└── view.sh

How can I implement it?

gaurav-nelson commented 3 years ago

Currently there's no option to skip folders. However, you can list all folders and files you want to check by using the folder path variable. See https://github.com/gaurav-nelson/github-action-markdown-link-check#check-multiple-directories-and-files

gaurav-nelson commented 3 years ago

@luiscachog Were you able to try that out? can you share any updates?