Add a skip field to the repository configuration

This commit is contained in:
Mikołaj Pęczkowski 2021-11-08 20:34:32 +01:00
parent 62dadc53bf
commit 19e68df732
4 changed files with 74 additions and 2 deletions

View file

@ -139,6 +139,11 @@ func (g *GitRepositoryManager) runCommand(cmd commands.Command) {
var wg sync.WaitGroup
for _, repo := range g.configuration.Repositories {
if repo.Skip && !g.cliArguments.IgnoreSkipped {
continue
}
wg.Add(1)
go func(r config.RepositoryConfig) {