jsv4/DOCX Redlines

Generate Word tracked-changes (redline) documents for .docx files changed in a pull request or push — or for an explicit pair of files — using python-redlines. Optionally renders browser-viewable HTML previews of each redline via Docxodus.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
originalPath to the original .docx for explicit-pair mode. Must be set together with 'modified'. Leave both empty to auto-detect the .docx files changed between two commits instead.no""
modifiedPath to the modified .docx for explicit-pair mode.no""
filesNewline-separated glob pattern(s) selecting which changed .docx files to redline in auto-detect mode (git pathspec globs, case-insensitive).no**/*.docx
base-refBase commit/ref to compare from in auto-detect mode. Must be set together with 'head-ref'. Defaults to the PR base (merge-base with the head when computable) on pull_request events, the pre-push commit on push events, or HEAD~1.no""
head-refHead commit/ref to compare to in auto-detect mode.no""
authorAuthor name recorded on the generated tracked changes.nopython-redlines
engineRedline engine: 'docxodus' or 'xmlpowertools'.nodocxodus
comparisonComparison algorithm for the docxodus engine: 'wmlcomparer' (default) or 'docxdiff'.no""
detect-movesEnable move detection (docxodus engine only): 'true' or 'false'.nofalse
output-dirDirectory (relative to the workspace) where redlines are written.noredlines
html-previewRender an HTML preview of each redline with the Docx2Html dotnet tool: 'auto' (render when the tool supports it, otherwise warn and skip), 'true' (require it, fail otherwise), or 'false' (skip; no .NET needed).noauto
summaryWrite a job-summary table of the generated redlines: 'true' or 'false'.notrue
upload-artifactUpload the output directory as a workflow artifact: 'true' or 'false'.notrue
artifact-nameName of the uploaded artifact.nodocx-redlines
package-versionpip version specifier for python-redlines, e.g. '==0.3.0'. Empty installs the latest release.no""
docx2html-versionNuGet version of the Docx2Html dotnet tool. Empty installs the latest.no""
namedescription
countNumber of redline documents generated.
any-changes'true' when at least one .docx change matched (including added/deleted files that cannot be redlined), otherwise 'false'.
redlinesJSON array describing each detected change: [{"path", "previous_path", "status", "revisions", "redline", "html"}, ...].
artifact-urlURL of the uploaded artifact (empty when nothing was uploaded).