github_push
Push a branch from this run's checkout.
Requires the org's agent-writes switch. A non-default branch pushes when the switch is on. Pushing the default branch follows the org's review settings for destructive actions (a person's approval by default). Force-push is refused. The token is the acting user's, or a one-repo installation token minted for this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Refused. A force-push does not run | |
| branch | Yes | Branch to push. The run's bound repository only. A leading + is refused | |
| github | No | owner/repo. Omit to use the run's bound github=. Any other repo is refused |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||