# CodePipelineProcessRepo

A git repository for a code pipeline run, over SSH (`"ssh"`) or HTTPS (`"http"`). With one repository it is checked out to `/code`; with several, each goes to `/code/<name>`.

**Kind:** one of several shapes, used in requests and responses. In a request it is called `CodePipelineProcessRepoInput`.

## Shapes

The `type` field says which shape it is, and comes first.

| `type` | Shape |
|---|---|
| `"http"` | [`CodePipelineGitHttpRepo`](https://docs.maitento.com/reference/types/code-pipeline-git-http-repo.md) |
| `"ssh"` | [`CodePipelineGitSshRepo`](https://docs.maitento.com/reference/types/code-pipeline-git-ssh-repo.md) |

## Example

```json
{
  "type": "http",
  "url": "...",
  "name": "...",
  "branchSource": "...",
  "branchWork": "...",
  "mcpServer": {
    "command": "...",
    "args": []
  },
  "resolvedCommitSha": "...",
  "runBaseCommitSha": "...",
  "finalCommitSha": "...",
  "dateLastCommitUtc": "2026-10-26T12:00:00.0000000Z"
}
```

## Where it's used

- [`pipelineRuns.updateRepos`](https://docs.maitento.com/reference/api/pipeline-runs.md) (`PUT /code-pipelines/processes/by-id/{id}/repos`)
- Inside [`CodePipelineProcess`](https://docs.maitento.com/reference/types/code-pipeline-process.md)
- Inside [`CodePipelineProcessResumeWithPromptRequest`](https://docs.maitento.com/reference/types/code-pipeline-process-resume-with-prompt-request.md)
- Inside [`CodePipelineProcessStartRequest`](https://docs.maitento.com/reference/types/code-pipeline-process-start-request.md)
