Skip to content

BLIS-Systems/github-owners-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Owners Bot

A web service that suggests approvers for a GitHub pull request based on OWNERS files and enforces reviews by OWNERS as a GitHub status check.

Getting Started

  • Clone the github-owners-bot repository. git clone git@github.com:google/github-owners-bot.git ${directory}

  • Clone the target repository to be evaluated. The github-owners-bot app requires a local copy of the target repository that we evaluate. You will need to set the GITHUB_REPO_DIR environment variable to the path of that target repository. ex. git clone git@github.com:ampproject/amphtml.git ${target_directory}

  • Set the REPO_DIR environment variable to the target_repository path that was used in the step above.

  • Set the APP_ID environment variable to your GitHub probot application.

  • Set the NODE_ENV environment variable to "development".

  • Set the WEBHOOK_SECRET environment variable to match what you set up on your GitHub Webhook pages.

  • Install the amp-owners-bot GitHub on the remote target repository (This should be the same repository that you had closed for the local target repository)

  • Go back into the github-owners-bot directory and run yarn.

  • Run npm run dev to start the local server. You can also run LOG_LEVEL=trace npm run dev for maximum logging while developing the application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.5%
  • Shell 7.5%