-
Notifications
You must be signed in to change notification settings - Fork 42
automation: add branch property to repository configuration #2763
Copy link
Copy link
Closed
Description
To facilitate automating librarian workflows on a non-default branch, we add a Branch string property to the RepositoryConfig schema used in repositories.yaml.
librarian/internal/automation/repositories.go
Lines 36 to 41 in 2984d7a
| 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels