pedroluna-gh/PreflightOps
Pre-deployment risk assessment that scores production change risk and can fail the build on critical risk.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 8, 2026
- License
- MIT
Pinned Snippet
uses: pedroluna-gh/preflightops@c13e6d5b1520a5d60b42d1ba7f4ba2cece8b749d # v0.1.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| services | Path to the service catalog YAML file. | yes | — |
| change | Path to the change request YAML file. | yes | — |
| terraform | Optional path to a Terraform plan/diff text file. | no | "" |
| k8s | Optional path to a Kubernetes manifest YAML file. | no | "" |
| output | Path to write the Markdown report. | no | preflightops-report.md |
| json-output | Path to write the JSON report. | no | preflightops-report.json |
| ticket-output | Optional path to write a ServiceNow/Jira-ready change ticket summary. | no | "" |
| ticket-template | Optional path to a YAML or JSON ticket template. | no | "" |
| servicenow | Optional ServiceNow instance URL for opt-in live ticket push. Credentials come from the SERVICENOW_USER / SERVICENOW_PASSWORD environment variables (set them from GitHub Actions secrets). | no | "" |
| jira | Optional Jira base URL for opt-in live ticket push. Credentials come from the JIRA_EMAIL / JIRA_API_TOKEN / JIRA_PROJECT_KEY environment variables (set them from GitHub Actions secrets). | no | "" |
| assume-yes | Skip confirmation prompts for explicitly requested live ServiceNow/Jira push. | no | false |
| fail-on | Minimum risk level that fails the action: none, low, medium, high, or critical. | no | critical |
| python-version | Python version to set up. | no | 3.11 |
Outputs
| name | description |
|---|---|
| risk-level | Assessed risk level (LOW, MEDIUM, HIGH, CRITICAL). |
| risk-score | Assessed risk score (0-100). |
| report-path | Path to the generated Markdown report. |
| json-report-path | Path to the generated JSON report. |
| ticket-path | Path to the generated change ticket summary (empty when ticket-output was not set). |