Unlink a GitHub project from a repository
github_project_unlinkUnlink a GitHub project board from a repository without deleting board data; the board remains unchanged if not linked, and required project and repository permissions are checked.
Instructions
Unlink a project board from a repository. The viewer must be able to update the board and write to the repository; a board that is not linked is left as it is (changed: false). Nothing on the board is deleted. A board is named by project: its number, owner/number or its URL, used as it is; any other project is a title, and no project is Roadmap: the open board of that whole title is looked up, never guessed, in owner's boards if owner is given, else in the boards linked to repo, then its organization's, then the viewer's. Needs a token with the project scope; if GitHub reports missing scopes, run gh auth refresh -s project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | owner/name of the repository to link or unlink; defaults to the working tree's repository (its origin). Also where the board lookup starts. | |
| owner | No | A user or organization login, or "@me": the owner of a numbered board, else the only owner searched for a title. | |
| project | No | The board, as its number, owner/number or its URL (used as it is; a bare number takes owner, else the owner of repo or of the working tree's repository), or as its title, looked up among open boards (whole title, case-insensitive). Default: the title Roadmap. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/name of the repository. | |
| changed | Yes | false when the board was already in the wanted state. | |
| project | Yes |