octoberswimmer/Flow2Apex PR Diff

Detect changed Salesforce Flow metadata files in a pull request, generate flow2apex old/new diffs, post them to the pull request, and optionally commit generated Apex files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 30, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: octoberswimmer/flow2apex@f5ede0add01852891c82a290e0d88f38a9864f52 # v0.6.0

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

namedescriptionrequireddefault
base-shaBase commit SHA for the PR comparison.yes
head-shaHead commit SHA for the PR comparison.yes
versionflow2apex release tag to install (for example `v0.2.0`). Use `latest` to resolve dynamically.nolatest
release-repoRepository that hosts flow2apex release assets (owner/name). Defaults to octoberswimmer/flow2apex.nooctoberswimmer/flow2apex
github-tokenToken for GitHub API calls and PR comments. Defaults to github.token when omitted.no""
post-commentWhether to upsert a PR comment with the generated diff report.notrue
diff-formatDiff format for generated Apex output (`unified` or `side-by-side`).nounified
vitrine-urlOptional Vitrine base URL for viewing side-by-side HTML reports without downloading artifact ZIPs.nohttps://vitrine.octoberswimmer.com/
commit-generated-apex-pathOptional repository-relative directory where generated Apex files should be written and committed.no""
namedescription
has-flow-changesWhether any `.flow` or `.flow-meta.xml` files changed in the PR.
comment-filePath to the generated markdown report file.
html-filePath to the generated side-by-side HTML report file when `diff-format` is `side-by-side`.
flow2apex-versionResolved flow2apex release tag used for conversion.