Add a forge
create_forgeRegister a new forge for Woodpecker by supplying its OAuth client credentials and base URL, enabling builds against that platform. Admin only; the OAuth app must already exist.
Instructions
Registers an additional forge. Admin only. The OAuth application has to exist on the forge side first, with this Woodpecker as its callback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Base URL of the forge, e.g. "https://github.com". | |
| type | Yes | Which forge software this is. | |
| client | Yes | OAuth client id from the forge. | |
| oauth_host | No | Public URL used for the OAuth redirect, when it differs from "url" — the usual case for a forge reachable under two names. | |
| skip_verify | No | Skip TLS verification towards this forge. Only for a private CA you cannot install; it disables certificate checking entirely. | |
| oauth_client_secret | Yes | OAuth client secret. Write-only — Woodpecker never returns it again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |