monte-carlo-data/MC Prevent

Run Monte Carlo's MC Prevent to assess risk of data pipeline changes before merge.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 5, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: monte-carlo-data/mc-prevent-action@8ca443a69500f175bfd53b793765e813f551ff5d # v1.2.1

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

namedescriptionrequireddefault
mcd-idMonte Carlo API Key ID (from MC Settings > API Keys).yes
mcd-tokenMonte Carlo API Key Token (from MC Settings > API Keys).yes
api-urlMonte Carlo MC Prevent API URL.nohttps://api.getmontecarlo.com/ci/assess
fail-on-errorDeprecated — use block-on instead. false = block-on: none. true is a no-op (defers to block-on). notrue
block-onWhich risk tiers cause the job to exit non-zero: low+ (block on low, medium, and high), medium+ (block on medium and high), high+ (block on high only), or none (never block). When left as the empty string this parameter is not sent to the backend, and the Monte Carlo UI setting applies. no""
fail-onDeprecated — use block-on instead. Accepted values: warn_and_fail, fail_only, none. block-on takes precedence when both are set. no""
poll-intervalSeconds between poll attempts when waiting for PR agent assessment.no30
max-waitMaximum seconds to wait for PR agent assessment before giving up.no300
namedescription
conclusionGate verdict: pass, warn, or fail.
risk-tierRisk tier from the assessment: high, medium, low, or none.
assessment-sourceSource of the assessment: pr_agent, override, none, or error.
responseFull JSON response from the MC Prevent API.