-
Notifications
You must be signed in to change notification settings - Fork 0
Add test to verify repository homepage URL availability #215
Copy link
Copy link
Open
Labels
Description
Context
Repositories using Process-PSModule have a configured homepage URL pointing to their GitHub Pages documentation site. If the Pages site goes down or the URL becomes invalid, there is no automated check to detect this.
Request
A test or CI check should verify that the repository's configured homepage URL is reachable and returns a successful HTTP status.
Acceptance criteria
- The homepage URL configured on the repository is tested for availability
- A non-200 response or connection failure is reported as a test failure or warning
- The check runs as part of the CI pipeline or a scheduled workflow
Technical decisions
To be determined during implementation planning.
Implementation plan
- Determine where to add the availability check (Test-PSModule, CI workflow, or scheduled job)
- Implement an HTTP request to the repository homepage URL
- Validate the response status code (expect 200)
- Report failures or warnings appropriately
Reactions are currently unavailable