To facilitate automating librarian workflows on a non-default branch, we add a Branch string property to the RepositoryConfig schema used in repositories.yaml.
|
type RepositoryConfig struct { |
|
Name string `yaml:"name"` |
|
FullName string `yaml:"full-name"` |
|
SecretName string `yaml:"github-token-secret-name"` |
|
SupportedCommands []string `yaml:"supported-commands"` |
|
} |
type RepositoryConfig {
// ...
Branch string `yaml:"branch"`
}
This would then be passed through the librarian flag --branch to each command.
To facilitate automating librarian workflows on a non-default branch, we add a
Branch stringproperty to theRepositoryConfigschema used in repositories.yaml.librarian/internal/automation/repositories.go
Lines 36 to 41 in 2984d7a
This would then be passed through the
librarianflag--branchto each command.