ensure_fork
Creates a fork of the specified upstream repository if it doesn't already exist, then returns the fork slug and HTTPS clone URL for pull request automation.
Instructions
Ensure a fork exists for the given upstream_repo_slug.
The upstream repository must be allowed according to the configured
allowlist (via ``upstream_allowed``). A fork will be created under the
authenticated user's account if it does not already exist. The function
returns the fork slug (``username/repo``), the HTTPS clone URL, and
whether a new fork was created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upstream_repo_slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||