athackst/HTMLProofer Action

Run HTMLProofer through the Ruby gem API with broad option support, retries, and cache-friendly defaults.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
directoryThe directory to scanyes./_site
allow_hash_hrefWhether `href="#"` anchors are validno
allow_missing_hrefDo not flag a tags missing hrefno
assume_extensionAutomatically add extension (e.g. .html) to file paths, to allow extensionless URLs (as supported by Jekyll 3 and GitHub Pages)no
check_faviconCheck whether favicons are validno
check_linksCheck whether 'a', 'link' elements are workingno
check_imagesCheck whether 'img' elements are workingno
check_scriptsCheck whether 'script' elements are workingno
check_opengraphCheck images and URLs in Open Graph metadatano
check_external_hashCheck whether external anchors existno
check_internal_hashChecks whether internal hashes exist (even if the webpage exists)
check_sriCheck that `<link>` and `<script>` external resources use SRIno
directory_index_fileSets the file to look for when a link refers to a directory.no
disable_externalIf `true`, does not run the external link checkerno
enforce_httpsRequire that links use HTTPSno
extensionsA list of Strings indicating the file extensions you would like to check (including the dot)no
ignore_empty_altIf `true`, ignores images with empty/missing alt tagsno
ignore_filesA list (new line or comma separated) list of regex or strings containing file paths that are safe to ignoreno
ignore_empty_mailtoIf `true`, allows `mailto:` `href`s which do not contain an email address.no
ignore_missing_altIf `true`, ignores images with missing alt tagsno
ignore_status_codesA list of numbers representing status codes to ignore.no
ignore_urlsA list (new line or comma separated) of Strings or RegExps containing URLs that are safe to ignore.nohttps://fonts.gstatic.com
ignore_new_filesWhether to ignore files that are newnofalse
swap_urlsNewline-separated list of regex expressions to swap in urlsno
hostThe host URL of your siteno${{ github.repository_owner }}.github.io
base_pathThe base path of your siteno/${{ github.event.repository.name }}
max_concurrencyMaximum number of concurrent requestsno
connect_timeoutHTTP connection timeoutno
followlocationIf 'true' will follow redirectionsno
ssl_verifypeerIf you’re hitting a non-verifiable SSL server then you’ll have to disable peer verification to make SSL workno
ssl_verifyhostIf you are getting `SSL: certificate subject name does not match target host name` from curlno
timeoutHTTP request timeoutno
retriesNumber of times to retry checking linksno6
cacheJSON configuration for HTMLProofer cachingno{ "timeframe": { "external": "2w", "internal": "1w" } }
gh_tokenGithub tokenno${{ github.token }}
check_htmlValidate HTMLno
check_img_httpEnforce that images use HTTPSno
empty_alt_ignoreAllow images with empty alt tagsno
missing_alt_ignoreAllow images with missing alt tagsno
url_ignoreNewline-separated list of URLs to ignoreno
url_ignore_reNewline-separated list of URL regexes to ignoreno
url_swapNewline-separated list of regex expressions to swap in urlsno
internal_domainsNewline-separated list of internal domainsno
max_paralellMaximum parallel processesno

no outputs