knjoroge/URL Health Check

Request a URL and fail if it does not return the status you expect.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: knjoroge/js-action@7bcb298c4e64827afe08d4fa6b7b3762e86db204 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
urlThe URL to check.yeshttps://example.com
expected-statusThe HTTP status code that means healthy.no200
timeout-msGive up after this many milliseconds.no5000
namedescription
statusThe HTTP status code that came back.
duration-msHow long the request took, in milliseconds.