monte-carlo-data/MC Prevent
Run Monte Carlo's MC Prevent to assess risk of data pipeline changes before merge.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 5, 2026
- License
- Apache 2.0
Pinned Snippet
uses: monte-carlo-data/mc-prevent-action@8ca443a69500f175bfd53b793765e813f551ff5d # v1.2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| mcd-id | Monte Carlo API Key ID (from MC Settings > API Keys). | yes | — |
| mcd-token | Monte Carlo API Key Token (from MC Settings > API Keys). | yes | — |
| api-url | Monte Carlo MC Prevent API URL. | no | https://api.getmontecarlo.com/ci/assess |
| fail-on-error | Deprecated — use block-on instead. false = block-on: none. true is a no-op (defers to block-on). | no | true |
| block-on | Which 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-on | Deprecated — use block-on instead. Accepted values: warn_and_fail, fail_only, none. block-on takes precedence when both are set. | no | "" |
| poll-interval | Seconds between poll attempts when waiting for PR agent assessment. | no | 30 |
| max-wait | Maximum seconds to wait for PR agent assessment before giving up. | no | 300 |
Outputs
| name | description |
|---|---|
| conclusion | Gate verdict: pass, warn, or fail. |
| risk-tier | Risk tier from the assessment: high, medium, low, or none. |
| assessment-source | Source of the assessment: pr_agent, override, none, or error. |
| response | Full JSON response from the MC Prevent API. |