Update a repository secret.
PATCH /api/repos/{owner}/{repo}/secrets/{secret}
Example Request Body:
{
"value": "octocat",
"event": [
"push",
"pull_request"
]
}
Example Response Body:
{
"id": 1,
"name": "docker_username",
"event": [
"push",
"pull_request"
]
}