Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

githubuniverseworkshops/workflow-exercise3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pull request reviews and CODEOWNERS

Pull request reviews are a GitHub feature that allow you to protect a branch by requiring reviews from an individual or team. CODEOWNERS can be used in combination with pull request reviews to request specific individuals or teams.

See it in action

  1. Fork this repository.
  2. Make a change to a Markdown file in the codebase.
  3. Create a pull request against the upstream repository.
  4. A pull request review is required from @hectorsector before the PR can be merged.

Implement it

  1. In your fork, change the file in the .github folder titled CODEOWNERS. Change the @hectorsector username to your own.
  2. Add another workshop participant as a collaborator in your repository.
  3. Navigate to repository Settings > Branches > Branch protection rules > Add rule
  4. Select: Apply rule to master
  5. Select: Require pull request reviews before merging
  6. Select: Require reviews from CODEOWNERS
  7. Ask your partner workshop participant to make changes to a Markdown file in your repository.
  8. You'll be notified that your review is required, Approve or Request Changes.
  9. Once approved, as your partner to merge their PR.

Releases

No releases published

Packages

No packages published

Languages

  • CSS 54.9%
  • JavaScript 38.1%
  • HTML 6.5%
  • Ruby 0.5%