github-community-projects / github-community-projects/safe-settings

Can I create environment and environment variables under this in a repo using github safe-settings admin repo ?

Open
#850 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
921
Forks
226
Avg merge
18h 3m
Merged PRs (30d)
14

Description

## Prerequisites:

Can I create environment and environment variables under this in a repo using github safe-settings admin repo ?

I have 70+ repositories , which needs the same environment and same set of variables.
I'm trying to create an environment and variables under it for repository like sr-*

Does safe setting support this ?

This is the yaml file I placed under suborgs/sr.yml

```
# Microservice repo environmental variables settings
suborgrepos:
- sr-*

repository:
environments:
deployment:
environment_variables:
tag: "test"
service_account_name: "ss-fab"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.