Problem Description
I went to add a team to all repos, by setting one team in the settings.yml file into the teams section it wiped out all of the teams in all the repos in the whole org, except for those who also had suborgs and/or individual repo files.
What is actually happening
It calculates changes for the settings.yml to affect all repos, for each repo it calculates it should have only that one team.
What is the expected behavior
I would expect any repo affected by a change to the settings.yml file should have additive changes only. If it also has a suborg and/or repo file then it could be definitive but with only the settings file being applied it should be additive.
Optionally, there needs to be a way to define the behavior for teams such as:
teams:
add:
- name: global-security-team
permission: read
Error output, if available
Context
Are you using the hosted instance of probot/settings or running your own?
my own
If running your own instance, are you using it with github.com or GitHub Enterprise?
enterprise
Version of probot/settings
2.0.21-rc.8
Version of GitHub Enterprise
not sure.
Problem Description
I went to add a team to all repos, by setting one team in the settings.yml file into the teams section it wiped out all of the teams in all the repos in the whole org, except for those who also had suborgs and/or individual repo files.
What is actually happening
It calculates changes for the settings.yml to affect all repos, for each repo it calculates it should have only that one team.
What is the expected behavior
I would expect any repo affected by a change to the settings.yml file should have additive changes only. If it also has a suborg and/or repo file then it could be definitive but with only the settings file being applied it should be additive.
Optionally, there needs to be a way to define the behavior for teams such as:
Error output, if available
Context
Are you using the hosted instance of probot/settings or running your own?
my own
If running your own instance, are you using it with github.com or GitHub Enterprise?
enterprise
Version of probot/settings
2.0.21-rc.8Version of GitHub Enterprise
not sure.