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

feature - Checks for branch protections #119

Merged

Conversation

naveensrinivasan
Copy link
Member

@naveensrinivasan naveensrinivasan commented Jan 5, 2021

This PR checks for some of the Branch Protection options. #9

  • Allow force pushes
  • Allow deletions
  • Enforce all configured restrictions above for administrators.
  • Require linear history
  • Require pull request reviews before merging
  • Require status checks to pass before merging

What is still not yet implemented?

  • Require branches to be up to date before merging
  • Dismiss stale pull request approvals when new commits are pushed
  • Require review from Code Owners
  • Require signed commits
  • e2e tests for branch-protection

Signed-off-by: naveen 172697+naveensrinivasan@users.noreply.github.com

Implemented Branch protections checks.

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
@naveensrinivasan naveensrinivasan marked this pull request as ready for review January 5, 2021 17:51
@naveensrinivasan naveensrinivasan self-assigned this Jan 5, 2021
@inferno-chromium inferno-chromium merged commit fcf0ac4 into ossf:main Jan 5, 2021
@naveensrinivasan naveensrinivasan deleted the feature/protected-branches branch January 5, 2021 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants