Skip to content

Instantly share code, notes, and snippets.

@dpprdan
Created October 17, 2023 18:37
Show Gist options
  • Save dpprdan/94a7b49a988b1b07b7049106eb58d6d2 to your computer and use it in GitHub Desktop.
Save dpprdan/94a7b49a988b1b07b7049106eb58d6d2 to your computer and use it in GitHub Desktop.
GitHub Settings App
# Branch protection settings for https://github.com/apps/settings
# Available settings: https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28
branches:
- name: main
protection:
allow_deletion: false
allow_force_pushes: false
enforce_admins: null
lock_branch: false
required_conversation_resolution: true
required_linear_history: true
required_signatures: true
required_pull_request_reviews:
required_approving_review_count: 1
dismiss_stale_reviews: true
require_code_owner_reviews: true
required_status_checks:
strict: true
contexts: []
restrictions: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment