You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the documentation is published during the Process-PSModule workflow, the repository's homepage URL should automatically be updated to point to the published GitHub Pages site. This ensures users can discover the documentation directly from the repository.
Request
The documentation publish step should update the repository's homepage field to the published GitHub Pages URL, but only when running on the main branch (not on feature branches or PRs).
Acceptance criteria
After documentation is published on main, the repository homepage is set to the Pages URL
The homepage is not updated when running on non-main branches
If the homepage is already correct, no update is made
Technical decisions
To be determined during implementation planning — uses the GitHub Repository API to update the homepage field.
Implementation plan
Add a step after documentation publish that checks the current branch
If on main, retrieve the GitHub Pages URL
Update the repository homepage to the Pages URL via the API
Context
When the documentation is published during the Process-PSModule workflow, the repository's homepage URL should automatically be updated to point to the published GitHub Pages site. This ensures users can discover the documentation directly from the repository.
Request
The documentation publish step should update the repository's homepage field to the published GitHub Pages URL, but only when running on the
mainbranch (not on feature branches or PRs).Acceptance criteria
main, the repository homepage is set to the Pages URLmainbranchesTechnical decisions
To be determined during implementation planning — uses the GitHub Repository API to update the homepage field.
Implementation plan
main, retrieve the GitHub Pages URLmainbranches