platformsh/Check a URL for a specific header response
Given a URL, performs a curl GET request and validates the server response against what we're expecting.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 12, 2023
- License
- None
Pinned Snippet
uses: platformsh/gha-check-url@67f5a1335e60a4b5cafb4a9e9681726ecffc14cf # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| test_url | The URL we want to check | yes | — |
| http_response | The HTTP response status code we expect from the server. Defaults to 200 | no | 200 |
| allow_insecure | Should we use the `--insecure` flag with curl when testing the URL? Defaults to false | no | false |
Outputs
no outputs