問題文
An organization wants to require signed commits and passing status checks on the default branch of all repositories whose name starts with a specific prefix, and wants the same configuration to apply automatically to new repositories with that prefix. What should be used?
選択肢
- A CODEOWNERS file at the organization level that lists the required reviewers.
- A branch protection rule configured in each matching repository.
- An organization-level ruleset that targets repositories by a name pattern and applies rules to the default branch.
- A repository template that includes the desired settings, used to create new repositories.