POST
github_git_refs_create.py
from charter.packs import github
result = await github.git_refs_create.ainvoke({"owner": ..., "repo": ..., "ref": ..., "sha": ...})
Requires
repo, read:user.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
Body
| Field | Type | Description |
|---|---|---|
ref * | string | The fully qualified reference, such as ‘refs/heads/my-branch’. A bare branch name is rejected. |
sha * | string | The commit SHA the new reference points at. |