Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.11 KB

File metadata and controls

35 lines (28 loc) · 1.11 KB

Repository Settings

Restrict editing to collaborators only

Setting Tab > Options(default) > Features

  • Wikis
  • Restrict editing to collaborators only
  • Issues
  • Project

Enable squash merge only

Setting Tab > Options(default) > Merge button

  • Allow merge commits
  • Allow squash merging
  • Allow rebase merging

Protect Default Branches from Merge

Setting Tab > Branches > Protected branches > Choose a branch.. Dropdown

Master, Support branch

  • Protect this branch
    • Require pull request reviews before merging
      • Dismiss stale pull request approvals when new commits are pushed
    • Require status checks to pass before merging
      • Require branches to be up to date before merging
    • Include administrators

Develop, develop

  • Protect this branch
    • Require pull request reviews before merging
      • Dismiss stale pull request approvals when new commits are pushed
    • Require status checks to pass before merging
      • Require branches to be up to date before merging
    • Include administrators