Repository navigation
Add a generator for repo banners and profile tiles - #1
Merged
Merged
Conversation
Renders a README banner for every public AsBuiltReport.* repo into assets/repo-banners/, and the module tiles on the organisation profile into profile/images/tiles/, from one HTML template with Playwright. Module banners show "PS> Install-Module <repo>" when the module is on the PowerShell Gallery, and the GitHub URL when it is not. The website banner shows www.asbuiltreport.com. The Repo banners workflow runs daily, on pushes to generator/ and by hand, and commits only the images that changed. On a pull request it uploads the images for review without committing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
1 of 2 tasks
readme-banners.mjs opens a pull request in each AsBuiltReport.* repo that replaces the old organisation logo at the top of the README with the repo's banner, or adds the banner at the top when there is no logo. It is a dry run unless --apply is passed. The repo list and API helpers move to repos.mjs, shared with render.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
generator/, a Node and Playwright script that renders the brand banner for every publicAsBuiltReport.*repo from one HTML template, plus a workflow that keeps them up to date.assets/repo-banners/<repo>.pngprofile/images/tiles/<repo>.pngPS> Install-Module <repo>when the module is on the PowerShell Gallery, the GitHub URL when it is not (currently AudioCodes.Mediant, Omnissa.Horizon, VMware.HorizonCloud, VMware.WorkspaceOneAccess, VMware.WorkspaceOneUEM and Veeam.VBAZ). The website showswww.asbuiltreport.com.generator/and by hand (optionally for named repos). It commits only images that changed. On this PR it renders without committing and uploads the images as therepo-bannersbuild artifact, for review.No images are committed in this PR. The workflow commits them on its first run after merge.
Test plan
repo-banner.pngrepo-bannersartifact from this PR's run and check the Linux rendersassets/repo-banners/🤖 Generated with Claude Code