> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argalabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST Save GitHub CI config

> Create or update GitHub validation settings

```bash theme={null}
POST /validation/github/config
```

**Request body**

| Field                 | Type      | Required | Description                                        |
| --------------------- | --------- | -------- | -------------------------------------------------- |
| `repo`                | `string`  | Yes      | Repository in `owner/repo` format.                 |
| `trigger_mode`        | `string`  | Yes      | `pr` or `branch`.                                  |
| `branch`              | `string`  | No       | Branch for branch-triggered validation.            |
| `custom_instructions` | `string`  | No       | Extra validation instructions.                     |
| `comment_on_pr`       | `boolean` | No       | Whether Arga comments on PRs. Defaults to `true`.  |
| `enabled`             | `boolean` | No       | Whether validation is enabled. Defaults to `true`. |
