neondeerdatalabs/Checkredirects.io

Check URLs for redirects, broken links, and errors in CI. Fail builds on problems, post results to PRs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-keyYour Checkredirects.io API key (starts with httpnd_).yes
urlsURLs to check, one per line. Mutually exclusive with urls-file and sitemap.no""
urls-filePath to a file containing URLs (one per line). Path is resolved against the workspace.no""
sitemapSitemap URL. The action will fetch and parse it server-side and check every URL it contains.no""
fail-on-errorFail the step if any URL returns 4xx/5xx or has a connection error.notrue
fail-on-redirectFail the step if any URL redirects at all (one or more hops).nofalse
fail-on-chainFail the step if any URL has a redirect chain (two or more hops).nofalse
user-agentUser agent preset (e.g. googlebot, chrome-desktop) or a custom string.no""
max-redirectsMaximum redirects to follow per URL.no10
https-onlyReject HTTP fallback. If a URL is unreachable on HTTPS the check fails instead of retrying on HTTP.nofalse
share-resultsCreate a public share link for the batch and include it in the PR comment. Off by default — results are private unless you opt in.nofalse
comment-on-prPost results as a comment on the pull request that triggered the workflow. No-op on push events.notrue
dedupeRemove duplicate URLs before submission. Reported in the summary when duplicates are found.notrue
timeout-secondsMaximum wall-clock seconds to wait for the batch to complete before failing.no300
base-urlAPI base URL. Override for self-hosted or staging.nohttps://api.checkredirects.io
namedescription
totalTotal URLs submitted to the batch (after dedupe).
completedURLs successfully checked.
errorsCount of URLs with a connection error or a 4xx/5xx final status.
redirectsCount of URLs that redirected (one or more hops).
chainsCount of URLs with a redirect chain (two or more hops).
pass"true" if no fail-on threshold was hit, "false" otherwise. Authoritative — set by the render step after applying fail-on policy.
batch-idThe batch job ID. Use it to fetch full results from the API later.
share-urlPublic share URL for the batch (only set when share-results=true).
results-jsonPath to a JSON file in $RUNNER_TEMP containing the full merged results.