Skip to content

Commit

Permalink
Merge pull request #379 from JoshuaTheMiller/master
Browse files Browse the repository at this point in the history
Document additional branch protection option in README (required_linear_history)
  • Loading branch information
travi committed Nov 25, 2020
2 parents 131d90d + 83eb6a4 commit 9d2551e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ branches:
contexts: []
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
enforce_admins: true
# Prevent merge commits from being pushed to matching branches
required_linear_history: true
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
restrictions:
apps: []
Expand Down

0 comments on commit 9d2551e

Please sign in to comment.