Skip to content

Configure branch protection for master #16

@LuTiK1984

Description

@LuTiK1984

Summary

Configure branch protection for the master branch using the recommendations in docs/BRANCHING_AND_PROTECTION.md.

Tasks

  • Open Repository -> Settings -> Branches.
  • Add a branch protection rule for master.
  • Require a pull request before merging.
  • Require status checks to pass before merging.
  • Require branches to be up to date before merging.
  • Require conversation resolution before merging.
  • Disable force pushes.
  • Disable branch deletion.
  • Add the CI status check once GitHub shows the exact check name.
  • Decide whether administrators can bypass the rule while the project is solo-maintained.

Reference

See: docs/BRANCHING_AND_PROTECTION.md


Кратко

Настроить защиту master, чтобы случайно не сломать основную ветку и не мержить рискованные изменения без CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions