Skip to content

automation: add branch property to repository configuration #2763

@noahdietz

Description

@noahdietz

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions