knjoroge/URL Health Check
Request a URL and fail if it does not return the status you expect.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- None
Pinned Snippet
uses: knjoroge/js-action@7bcb298c4e64827afe08d4fa6b7b3762e86db204 # v2.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The URL to check. | yes | https://example.com |
| expected-status | The HTTP status code that means healthy. | no | 200 |
| timeout-ms | Give up after this many milliseconds. | no | 5000 |
Outputs
| name | description |
|---|---|
| status | The HTTP status code that came back. |
| duration-ms | How long the request took, in milliseconds. |