Back to GithubUpdate a repository variable
Updates a repository variable that you can reference in a GitHub Actions workflow.
You must authenticate using an access token with the repo
scope to use this endpoint.
GitHub Apps must have the actions_variables:write
repository permission to use this endpoint.
Input
type: object
properties:
parameters:
type: object
properties:
owner:
type: string
description: The account owner of the repository. The name is not case sensitive.
repo:
type: string
description: The name of the repository. The name is not case sensitive.
name:
type: string
description: The name of the variable.
required:
- owner
- repo
- name
title: Parameters
data:
type: object
properties:
name:
type: string
description: The name of the variable.
value:
type: string
description: The value of the variable.
title: Data