actions-marketplace-validations/Repo Visualizer

A GitHub Action that creates an SVG diagram of your repo

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 18, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/githubocto_repo-visualizer@a999615bdab757559bf94bda1fe6eef232765f85 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
output_fileA path (relative to the root of your repo) to where you would like the diagram to live. For example: images/diagram.svg. Default: diagram.svgno
excluded_pathsA list of paths to exclude from the diagram, separated by commas. For example: dist,node_modulesno
excluded_globsA list of micromatch globs to exclude from the diagram, separated by semicolons. For example: **/*.png;docs/**/*.{png,ico}no
root_pathThe directory (and its children) that you want to visualize in the diagram. Default: "" (repository root directory)no
max_depthThe maximum number of nested folders to show files within. Default: 9no
commit_messageThe commit message to use when updating the diagram. Default: Repo visualizer: updated diagramno
branchThe branch name to push the diagram to (branch will be created if it does not yet exist). For example: diagramno
should_pushWhether to push the new commit back to the repository. Must be true or false. Default: truenotrue
artifact_nameIf given, the name of an artifact to be created containing the diagram. Default: don't create an artifact.no""
file_colorsYou can customize the colors for specific file extensions. Key/value pairs will extend the [default colors](https://github.com/githubocto/repo-visualizer/pull/src/language-colors.json).no{}
namedescription
svgThe diagram contents as text