Newer
Older
thu-learn-downloader-optimized / .github / sync-repo-settings.yaml
@Qin Li Qin Li on 28 Feb 2023 464 bytes ci: update sync-repo-settings.yaml (#27)
# Automatically delete head branches after merging PRs.  Defaults to `true`.
deleteBranchOnMerge: true

# Rules for branch protection (add multiple entries to configure multiple branches)
branchProtectionRules:
  # Identifies the protection rule pattern. Name of the branch to be protected.
  # Defaults to `master`
  - pattern: main
    # Number of approving reviews required to update matching branches.
    # Defaults to `1`
    requiredApprovingReviewCount: 0