{
  "id": "policy/github-actions-self-hosted-runner-ip-restricted",
  "signature": "Error: The self-hosted runner's IP address is not allowed by the organization's network policy.",
  "signature_zh": "错误：自托管运行器的IP地址不被组织的网络策略允许。",
  "regex": "The self-hosted runner's IP address is not allowed by the organization's network policy",
  "domain": "policy",
  "category": "auth_error",
  "subcategory": null,
  "root_cause": "Organization network policy restricts outbound traffic from self-hosted runners to specific IP ranges, and the runner's IP is not whitelisted.",
  "root_cause_type": "generic",
  "root_cause_zh": "组织网络策略限制自托管运行器的出站流量到特定IP范围，而运行器的IP未被列入白名单。",
  "versions": [
    {
      "version": "GitHub Actions 2024-06-01",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "actions/runner 2.315.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Disable the organization's network policy entirely",
      "why_fails": "Network policies are enforced by security teams; disabling them requires approval and may violate compliance.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a different self-hosted runner with the same IP",
      "why_fails": "The IP is the same; the policy blocks the IP range, not the runner itself.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Add the self-hosted runner's public IP to the organization's allowed IP list via GitHub settings > Organization > Security > Network policy.",
      "success_rate": 0.95,
      "how": "Add the self-hosted runner's public IP to the organization's allowed IP list via GitHub settings > Organization > Security > Network policy.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use GitHub-hosted runners instead, which have dynamic IPs already whitelisted by most policies.",
      "success_rate": 0.9,
      "how": "Use GitHub-hosted runners instead, which have dynamic IPs already whitelisted by most policies.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "通过GitHub设置 > 组织 > 安全 > 网络策略，将自托管运行器的公共IP添加到组织的允许IP列表中。",
    "改用GitHub托管的运行器，这些运行器具有动态IP，已大多数策略列入白名单。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.92,
  "resolvable": "true",
  "first_seen": "2024-06-01",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}