Check the remote is owned by the organization.
()
| 63 | |
| 64 | |
| 65 | def check_remote_is_org() -> bool: |
| 66 | """Check the remote is owned by the organization.""" |
| 67 | origin = execute("git remote get-url origin", error_out=True).out |
| 68 | return (f"/{get_github_org()}/" in origin) or (f":{get_github_org()}/" in origin) |
| 69 | |
| 70 | |
| 71 | def create_repo_url(repo: str) -> str: |
nothing calls this directly
no test coverage detected