-
Notifications
You must be signed in to change notification settings - Fork 0
Add test to verify repository homepage matches GitHub Pages URL #213
Copy link
Copy link
Open
Labels
Description
Context
Repositories using Process-PSModule should have their GitHub repository homepage field set to their GitHub Pages URL so users can easily discover the documentation site.
Request
A test should verify that the repository's homepage field matches its GitHub Pages URL.
Acceptance criteria
- The test retrieves both the repository homepage and the Pages URL
- The test asserts that the homepage matches the Pages URL
- Mismatches are flagged as a test failure or warning
- The test handles cases where Pages is not configured
Technical decisions
To be determined during implementation planning — uses the GitHub Repository API and Pages API.
Implementation plan
- Implement a test that retrieves the repository's
homepagefield - Retrieve the GitHub Pages URL from the Pages API
- Compare the two and assert they match
- Handle edge cases (Pages not configured, homepage not set)
Reactions are currently unavailable