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

Exclude selected repos in suborgs level

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

Description

## New Feature

prodivde a way to exclude selected repos from suborgs level (aka team level).

Why?

We have some repos with multiple collaborators (A anb B). If A already created a suborg config file, B can't create anymore because the shared repo was already configured with A.

Error example frorm safe-settings:
```
❗ Error: Multiple suborg configs for repo-a in .github/suborgs/A.yml and .github/suborgs/B.yml
```

The suggestion is:
```yaml
suborgteams:
- B
exclude:
- repo-a # because it is already configued with team A
```

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.