Comments (6)
Thanks @ruzickap @musicEnfanthen for your inputs. I'll add it as a variable.
from github-action-markdown-link-check.
Hi,
Is this still planned to be added?
We are trying to use this action and we want to exclude one of the directories in our project but due to not being able to specify exclusions this makes us need to explicitly define the files and directories we want to use to avoid the undesired directory. This is not ideal as if there are new files and directories that contain .md files in the future one needs to remember adding it to the list which is easy to forget.
I would suggest adding a parameter to ignore a set of files, and a parameter to ignore a set of directories recursively. This is similarly to what's been done for inclusions.
Thank you
from github-action-markdown-link-check.
Thanks @ruzickap yes it makes sense. I'll take this one next.
from github-action-markdown-link-check.
@ruzickap I've had some success with replacing find
with fd
.
fd
allows an .fdignore
file https://github.com/sharkdp/fd#excluding-specific-files-or-directories
What do you think about not adding another option to exclude files and folder, instead recommending users to create an ./.fdignore
file to skip specific files and folders?
from github-action-markdown-link-check.
I'm not sure if it's good idea to add some files (.fdignore
) into the repository only to exclude the files during tests.
I would prefer to have variable
and optionally .fdignore
to exclude files from being "tested".
Maybe others have different opinion about it...
from github-action-markdown-link-check.
I would second that @ruzickap . The approach with .fdignore
could lead to conflicts if another action also uses fd
but you want to ignore (or not) different paths. Excluded files should preferably be limited to the individual action.
from github-action-markdown-link-check.
Related Issues (20)
- suricata.io marked dead with "Status: 0 Error: socket hang up" HOT 3
- Do you support .rst files for checking the links? HOT 1
- [Feature] Follow "redirect permanent" HOT 3
- Unable to verify link - ESOCKETTIMEDOUT HOT 2
- Cant find folder when using self hosted runner HOT 4
- Title Links Not Working in 1.0.14 HOT 7
- Running locally HOT 2
- Disable check for some links of domains HOT 2
- https://www.php.net/manual/en/install dead link HOT 1
- Add cookie support between redirects HOT 3
- incorrect 403 status HOT 6
- error: cannot run ssh: No such file or directory fatal: unable to fork HOT 1
- Failing randomly with "Error: Callback was already called." HOT 1
- Check Link not working - Not detecting broken links. HOT 7
- How do I keep checking for broken links even after one has been found? HOT 1
- case sensitive extension HOT 2
- Non-verbose output HOT 1
- False positives on Github wiki page repo HOT 4
- [bug] The bracket will be recognized as part of the url, resulting in dead link
- Issue on Renovate Upgrade due to wrong Tag name format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action-markdown-link-check.