amdadulbari/Release Freeze Enforcer
Enforce release-freeze windows in CI/CD pipelines to prevent deployments during restricted periods.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| environment | The deployment environment name (e.g., production, staging) | yes | — |
| behavior | Action behavior when frozen: block (fail), warn, or allow | no | block |
| timezone | IANA Timezone string (e.g., UTC, Asia/Dhaka) | no | UTC |
| freeze_start | Fixed window start time (ISO-like: YYYY-MM-DDTHH:MM) | no | — |
| freeze_end | Fixed window end time (ISO-like: YYYY-MM-DDTHH:MM) | no | — |
| rrule | RRULE string for recurring freezes (RFC 5545) | no | — |
| duration_minutes | Duration in minutes for each recurring occurrence (required if rrule is set) | no | — |
| override | Secret token value (e.g. from secrets). If set to "true", passes the freeze. | no | — |
| fail_message | Custom message to display when the action blocks a deployment | no | — |
| summary | Whether to post a job summary to the workflow run | no | true |
Outputs
| name | description |
|---|---|
| is_frozen | true if the current time is within a freeze window, false otherwise |
| decision | Final decision: ALLOW, WARN, or BLOCK |
| environment | The environment checked |
| now_local | Current time in the configured timezone |
| now_utc | Current time in UTC |
| window_type | Type of window matched: FIXED, RRULE, or NONE |
| window_name | Name/description of the active freeze window |
| reason | Reason for the decision |
| freeze_start | Start time of the active freeze window |
| freeze_end | End time of the active freeze window |
| overridden | true if the freeze was active but overridden |
| override_reason | Reason for the override (e.g., PR label) |