This is a Github pull request feed that integrates with Slack. It aims to automate some of the things we do in the code review process (e.g., manual reposting) and improve the visibility of outstanding pull requests.
Features include:
You will need to configure Octokit
, Warden::GitHub::Rails
, and Slack
.
Octokit
requires an access_token
with repo access in order to read pull request data from Github. Make sure the access_token
belongs to an account that has access to repositories you want integrated. The secrets.yml
file will read the value of the access token from ENV["GITHUB_TOKEN"]
.
Warden::GitHub::Rails
provides authentication so that only members of your Github organization can access the PRFeed. It requires a github_organization
, client_id
and client_secret
- procure these from creating an OAuth application in you Github settings. The secrets.yml
file will read the value of the ID and secret from ENV["GITHUB_ORG"]
, ENV["GITHUB_CLIENT_ID"]
and ENV["GITHUB_CLIENT_SECRET"].
Slack
requires a slack_api_token
to post in channels of your Slack account. Be sure to invite the bot to the various channels.
bundle install
yarn
rake db:setup
rails server
Add a team and configure Slack channel
Manage teams
by the teams dropdownenter
enter
bump
. Bumping will repost in Slack and will look something like this:Pending
= there are no comments, approvals, or changes requestedCommented
= there are commentsChanges Requested
= changes have been requestedApproved
= an approval has been grantedPending
, Commented
, or Changes Requested
Some tests are also run with:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4