brotni/Brotni Simulation

Register a GitHub pull request, commit, or OCI artifact as a candidate in an existing Brotni simulation campaign and publish a campaign-scoped check/comment back to GitHub. Registration is idempotent by candidate name.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
brotni-api-urlBase URL of the Brotni-compatible simulation API endpoint. Falls back to the BROTNI_API_URL environment variable. no
brotni-tokenAuthentication token for the Brotni API. Falls back to the BROTNI_TOKEN environment variable. no
execution-recipePath or URI of the execution recipe used to run this candidate.no
artifact-uriURI of the artifact to submit as a simulation candidate (e.g. an OCI image reference such as ghcr.io/org/image:tag). no
artifact-digestContent-addressable digest of the artifact (e.g. sha256:abc123...). Use this with artifact-uri to pin an immutable reference. no
candidate-nameHuman-readable name for this simulation candidate.no
campaign-idBrotni campaign ID to register this candidate with. Required — the action registers the build as a candidate in an existing campaign. yes
candidate-labelPR label that marks a pull request as a campaign candidate for label-based discovery. nobrotni-simulation-candidate
source-kindCandidate source kind: git_change, container_image, or config_bundle. Inferred from the artifact inputs when omitted. no
publish-commentPost a campaign-scoped PR comment with this candidate's status and a link to the campaign comparison. Requires pull-requests: write and a pull_request event. nofalse
publish-checkCreate a GitHub Check Run with the campaign-scoped result. Requires checks: write permission. nofalse
github-tokenGitHub token used to post comments and check runs. Defaults to the automatically provided github.token. no${{ github.token }}
namedescription
candidate-idStudio-minted identifier of the registered candidate.
campaign-urlURL to the campaign comparison view, when provided by the studio.
simulation-statusCandidate status: "registered" right after registration, or "passed" / "failed" once the campaign decision includes this candidate.
simulation-scoreThis candidate's overall score from the campaign decision, if available.