add_issue_block
Marks an issue as blocking another, so the second becomes dependent on the first. Supports cross-repo dependencies when the instance allows it.
Instructions
Make an issue block another issue. index is the blocker; dep_index becomes blocked by (dependent on) index. dep_owner/dep_repo default to the same repo but may point at another repo (requires AllowCrossRepositoryDependencies). Returns the blocker issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name of the issue that will block the other (defaults to GITEA_DEFAULT_REPO) | |
| index | Yes | Issue number that will block the dependency (the blocker) | |
| owner | No | Repository owner of the issue that will block the other (defaults to GITEA_DEFAULT_OWNER) | |
| dep_repo | No | Repository name of the issue to block (defaults to the same repo as `repo`; cross-repo dependencies require the instance to enable AllowCrossRepositoryDependencies) | |
| dep_index | Yes | Issue number to block (it becomes dependent on `index`; the blocked issue) | |
| dep_owner | No | Repository owner of the issue to block (defaults to the same owner as `owner`; cross-repo dependencies require the instance to enable AllowCrossRepositoryDependencies) |