Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Branch Rulesets for Master Branch Protection #16

Open
SergeyShorokhov opened this issue Oct 20, 2024 · 0 comments
Open

Create Branch Rulesets for Master Branch Protection #16

SergeyShorokhov opened this issue Oct 20, 2024 · 0 comments
Assignees

Comments

@SergeyShorokhov
Copy link
Member

To enhance the integrity and security of our codebase, we need to implement branch rulesets that will protect the main master branch from unreviewed or untested code changes. This will help prevent accidental merges of incomplete or faulty code, ensuring that only approved changes are integrated into the main branch.

Tasks

  1. Define Branch Protection Rules:

    • Require pull request reviews before merging into the master branch.
    • Set a minimum number of approving reviews (e.g., 2).
    • Ensure that all status checks (e.g., CI/CD pipelines) must pass before merging.
    • Restrict who can push directly to the master branch.
  2. Communicate Changes:

    • Inform all team members about the new branch protection rules and the importance of adhering to them.
    • Update relevant documentation to reflect these changes.
  3. Implement and Test:

    • Apply the defined branch rulesets in the repository settings.
    • Conduct a test merge to ensure the rules are functioning as intended.

Expected Outcome

By establishing these branch protection rules, we will create a more reliable and robust development process, minimizing the risks associated with unreviewed code changes in the master branch.

Additional Notes

Please provide any feedback or suggestions regarding these proposed rulesets. Your input is valuable to ensure we create an effective and efficient workflow for our development team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants