conjikidow/Typst PDF Diff Action

Build and diff Typst PDFs in GitHub Actions with artifact uploads.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 11, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: conjikidow/typst-pdf-diff-action@8e68a5cec6004d3c4371e72da164e99760b50ffb # v0.2.0

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

namedescriptionrequireddefault
target-filesSpace-separated Typst entrypoint files to compile.yes
typst-versionThe Typst version to install.nolatest
github-tokenThe GitHub token for checkout, artifact upload, and optional comment updates.no${{ github.token }}
submodulesSubmodule mode passed to actions/checkout. Use false, true, or recursive.nofalse
head-refThe head revision to compare. Defaults to the pull request head SHA or github.sha.no""
base-refThe base revision to compare. Defaults to the merge-base of the pull request or github.event.before.no""
post-commentWhether to update a pull request comment with diff results.notrue
comment-modeComment update mode. Supported values are replace and append.noreplace
fail-on-comment-errorWhether to fail the action when comment updates fail.nofalse
upload-artifactsWhether to upload head and diff PDFs as workflow artifacts.notrue
namedescription
has-diff`true` when at least one target file has a PDF diff.
head-artifact-urlThe uploaded head PDF artifact URL when artifact upload is enabled.
diff-artifact-urlThe uploaded diff PDF artifact URL when a diff artifact is uploaded.