Connect repository
connect_repositoryConnect one more GitHub or GitLab repository to a project, by its address — 'https://github.com/owner/repo', a gitlab.com project or a company's own GitLab. No token is taken here, ever: the host is asked as anybody would ask it, so a public repository connects at once and a private one is refused, with the screen to connect it on with a token. With openSource: true it is also marked as the project's open source repository — asked without a token whether anybody can read it and under which licence — which is what set_project_public needs; marking opens nothing by itself. A repository already connected is marked rather than connected twice. Only the project's lead, a board administrator or a company admin may; the mark is written to the company's journal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The repository's address, e.g. 'https://github.com/owner/repo'. github.com is GitHub; any other host is taken for a GitLab. | |
| openSource | No | true to mark it as this project's open source repository. Leave it out for a repository connected only for the links between issues and code. | |
| projectKey | Yes | Key of the project, e.g. 'LIB'. |