GitHub Action contract
The Verahelm Decision Envelope verifier Action performs offline verification only. It does not call Verahelm’s hosted service, issue a decision, execute pull-request code, or send envelope data over the network.
Minimal use
Start with the
canonical base-controlled workflow.
Copy it into .github/workflows/, configure its protected variables, and test
both passing and blocked fictional cases before making it a required check.
The semantic tag Verahelm/verahelm-decision-envelope@v0.10.3 is convenient
and immutable for this release.
For maximum source pinning, use the full release commit:
- uses: Verahelm/verahelm-decision-envelope@63590721d2c518e42ced1edb34bde754cf126d0a
The immutable semantic tag cannot be moved while its release exists. A full commit SHA remains the clearest source identity and is preferred by automated dependency update policies.
Inputs
| Input | Required | Default | Meaning |
|---|---|---|---|
envelope |
Yes | None | Repository-relative path to one Decision Envelope. |
public-key |
Alternative | None | Repository-relative path to one Ed25519 public key. |
public-key-sha256 |
Alternative | None | Trusted sha256: fingerprint configured outside pull-request content. |
trust-bundle |
Alternative | None | Repository-relative path to one offline multi-key trust bundle. |
trust-bundle-sha256 |
Alternative | None | Trusted full-file bundle fingerprint configured outside pull-request content. |
status |
No | None | Repository-relative path to one signed lifecycle-status document. |
status-max-age-seconds |
No | None | Maximum accepted signed-status age; requires status. |
subject-id |
Yes | None | Expected subject identifier from workflow context. |
subject-version |
Yes | None | Expected immutable sha256: subject version. |
authority-id |
Yes | None | Expected customer authority from trusted configuration. |
scope-environment |
Yes | None | Expected environment from trusted configuration. |
scope-change |
Yes | None | Expected change identifier from workflow context. |
Outputs
| Output | Values |
|---|---|
status |
pass, blocked, expired, revoked, superseded, tampered, or invalid |
valid |
String true only for pass; string false for every other status |
- name: Verify
id: verahelm
uses: Verahelm/verahelm-decision-envelope@v0.10.3
with:
# Required inputs omitted here; use the complete example above.
- if: steps.verahelm.outputs.valid == 'true'
run: echo "Fictional envelope verification passed"
The Action exits zero only for pass, preserving required-check behavior.
Blocked, expired, revoked, superseded, tampered, mismatched, unsupported, and
invalid inputs exit one. Outputs and logs never contain the envelope,
conditions, evidence, subject, authority, scope, key, or raw verifier errors.
Permissions and event safety
permissions:
contents: read
Use the base-controlled
pull_request_target template. It
checks out no pull-request code and disables credential persistence. The
trusted key fingerprint, authority, and environment must come from protected
repository configuration, never from pull-request content.
Use either the public-key pair or the trust-bundle pair, never both. A pinned bundle permits bounded issuer-key rotation without adding network access.
The consuming workflow remains responsible for enforcing declared conditions and obtaining a sufficiently fresh signed status when later revocation or supersession matters. A valid signature does not prove that underlying evidence is true or sufficient.