schema_version: 1
bypass_allowlist:
  - release-manager
  - incident-commander
comments:
  enabled: true
rules:
  - id: block_unrelated_pr_during_sentry_critical
    configuration:
      failure_behavior: fail_closed
      incident_fix_labels:
        - hotfix
        - incident-fix
  - id: allow_linked_hotfix_during_incident
    configuration:
      failure_behavior: fail_open
      incident_fix_labels:
        - hotfix
        - incident-fix
  - id: require_no_active_deployment_freeze
    configuration:
      deployment_freeze_reference: active deployment freeze
