Co-authored-by: github-openapi-bot <security+github-openapi-bot@github.com> Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Co-authored-by: Rachael Sewell <rachmari@github.com>
19 lines
875 B
Markdown
19 lines
875 B
Markdown
---
|
|
title: GitHub Actions Variables
|
|
allowTitleToDifferFromFilename: true
|
|
shortTitle: Variables
|
|
intro: 'Use the REST API to interact with variables in {% data variables.product.prodname_actions %}.'
|
|
topics:
|
|
- API
|
|
versions:
|
|
fpt: '*'
|
|
ghes: '>=3.8'
|
|
ghec: '*'
|
|
---
|
|
|
|
## About variables in {% data variables.product.prodname_actions %}
|
|
|
|
You can use the REST API to create, update, delete, and retrieve information about variables that can be used in workflows in {% data variables.product.prodname_actions %}. {% data reusables.actions.about-variables %}
|
|
|
|
{% data reusables.actions.actions-authentication %} {% data variables.product.prodname_github_apps %} must have the `actions_variables/environments/organization_actions_variables` permission to use these endpoints. Authenticated users must have collaborator access to a repository to create, update, or read variables.
|