aj-geddes/Sailor Mermaid Processor

Process Mermaid diagrams in markdown files for documentation-as-code pipelines

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 6, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aj-geddes/sailor@861dbd3a154e48daa788f6a300d4d114dae751cf # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
source-dirDirectory containing markdown filesno.
output-dirDirectory for generated diagram imagesnodiagrams
formatOutput format (png, svg, pdf)nopng
themeMermaid theme (default, dark, forest, neutral)nodefault
file-patternPattern for finding markdown filesno**/*.md
commit-changesAutomatically commit generated diagramsnotrue
validate-onlyOnly validate diagrams without generating imagesnofalse
fail-on-errorFail the action if any diagram has errorsnotrue
transparent-backgroundGenerate images with transparent backgroundnofalse
namedescription
diagrams-processedNumber of diagrams processed
diagrams-failedNumber of diagrams that failed
output-pathPath to generated diagrams