Back to GithubUpdate an environment variable
Updates an environment 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 environment:write
repository permission to use this endpoint.
Input
type: object
properties:
parameters:
type: object
properties:
repository_id:
type: integer
description: The unique identifier of the repository.
name:
type: string
description: The name of the variable.
environment_name:
type: string
description: The name of the environment.
required:
- repository_id
- name
- environment_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