github-community-projects / github-community-projects/safe-settings
Support for configuration variables in workflows - environments, repository, and organization
- Dominant language
- JavaScript
- Stars
- 921
- Forks
- 226
- Avg merge
- 18h 3m
- Merged PRs (30d)
- 14
Description
## Prerequisites:
* Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
https://github.blog/changelog/2023-01-10-github-actions-support-for-configuration-variables-in-workflows/
* Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#create-an-environment-variable
## New Feature
Please describe the desired new functionality:
Being able to configure these variables not only at the repository level but also at the organization level
Our use case:
- Block all pipelines in our organization when something happens.
- Block only deployments to one env.
With this, we could lock them by code. Being traced the change and the duration.
Contributor guide
Assessment
This issue has not been assessed yet.