This action find all links in the specified markdown files and presents them as output.
Required A comma separated list of files to search within. These should be the absolute file paths.
A comma separated list of hosts to which should not be archived. This represents URLs which are considered reliable and are unlikely rot e.g., en.wikipedia.org'. The default setting permits every URL.
The host of the pages to be checked, e.g., en.wikipedia.org. Setting this input will cause the script to ignore links from the host, regardless of the blacklist's settings.
The links found within the provided markdown files.
Note: The action will ignore home pages. For example, www.example.com will be ignored but www.example.com/my-post/ will not.
uses: thomaspaulin/[email protected]
with:
files: 'README.md,example.md'
url_blacklist: 'en.wikipedia.org,news.ycombinator.com'
host: 'example.com'