jagreehal/Executable Stories

Surface BDD test stories in pull requests, gate releases against dev baselines, and track deployments across environments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
modeAction mode: - "report" (default): surface BDD stories as PR comment + HTML artifact - "review": generate an Evidence Review of the PR's changes — correlate the run to the diff and band changed code as uncovered / weak / strong. Requires a run JSON (see run-json). - "gate-release": verify a release candidate matches the dev test baseline - "deploy": record a deployment to the environment ledger For a living-docs site, scaffold once with `executable-stories init-astro` and deploy with `astro build` in your own workflow (see the README). It is no longer a mode of this action. noreport
report-dirDirectory containing or receiving generated reportsnoreports
output-nameBase filename for reports (without extension)notest-results
raw-runPath to raw run JSON (auto-detected if not set)no.executable-stories/raw-run.json
formatter-versionVersion of executable-stories binary to download (latest or semver)nolatest
artifact-nameName for the uploaded GitHub artifactnoexecutable-stories-report
comment-titleHeader text for the PR commentnoExecutable Stories
host-imagesHow to handle inline screenshots so GitHub renders them in the PR comment. - "false" (default): replace inline base64 data URIs with a placeholder (full images remain in the HTML artifact). No write permissions needed. - "branch": commit screenshots to an orphan branch on this repository and rewrite the markdown to reference raw.githubusercontent.com URLs. Requires `contents: write` permission on the workflow. nofalse
images-branchBranch name used when host-images: branch. Created as an orphan branch on first use.noexecutable-stories-images
gate-dev-run(gate-release) Path to the dev environment test run to use as baselineno
gate-fail-on-regression(gate-release) Fail if scenarios regressed from dev to RC (default: true)notrue
gate-fail-on-removal(gate-release) Fail if scenarios in dev are missing from RC (default: true)notrue
gate-fail-on-new(gate-release) Fail if new scenarios appear in RC not in devnofalse
gate-release-policy(gate-release) Path to release policy JSON with allowed exceptionsno
deploy-env(deploy) Environment name to record the deployment against (e.g. dev, staging, production)no
deploy-tag(deploy) Git tag for this deployment (e.g. v1.2.3)no
deploy-ledger(deploy) Path to deployment ledger JSONno.executable-stories/deployments.json
run-json(review mode) Path to the run JSON (raw or canonical) to correlate against the diff. Defaults to raw-run.no""
base-ref(review mode) Base ref to diff against. Defaults to the PR base branch (GITHUB_BASE_REF).no""
changed-files(review mode) Optional precomputed changed-files file (JSON or `git diff --name-status` text). If unset, the action computes it from git.no""
fail-on(review mode) Opt-in gate: 'uncovered' or 'weak' — fail the check when changed code lacks evidence. Default: off.no""
min-evidence(review mode) Opt-in gate: 'weak' | 'moderate' | 'strong' — fail when any claim is below this strength. Default: off.no""
formatter-binaryPath to a prebuilt executable-stories binary to use instead of downloading from Releases (for dev/testing before release).no""
namedescription
html-report-pathPath to the HTML report file
markdown-report-pathPath to the Markdown report file
comment-idID of the created or updated PR comment
gate-failedWhether the release gate failed (true/false)
deploy-ledger-pathPath to the deployment ledger written in deploy mode