()
| 179 | |
| 180 | |
| 181 | def _load_github_event() -> dict[str, Any]: |
| 182 | path = os.environ.get("GITHUB_EVENT_PATH") |
| 183 | if not path: |
| 184 | return {} |
| 185 | try: |
| 186 | return json.loads(Path(path).read_text(encoding="utf-8")) |
| 187 | except Exception: |
| 188 | return {} |
| 189 | |
| 190 | |
| 191 | def _normalize_relpath(p: str) -> str: |
no test coverage detected