Skip to content
Cookpad GitHub App
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib notify when PRs are ready for review (#84) Apr 26, 2019
test notify when PRs are ready for review (#84) Apr 26, 2019
.cp8.yml add config for testing Feb 18, 2019
.env.sample Make CP8 GitHub app compatible (#55) Sep 11, 2018
.gitignore make it easier to boot server locally Jan 11, 2018
.ruby-version bump ruby version Feb 18, 2019
.travis.yml Add .travis.yml Aug 27, 2018
Gemfile bump ruby version Feb 18, 2019
Gemfile.lock commit ruby version to Gemfile.lock Feb 19, 2019
Procfile
README.md
Rakefile avoid unnecessary removed/added messages Mar 7, 2016
app.json Make CP8 GitHub app compatible (#55) Sep 11, 2018
app.rb
config.ru init commit Feb 27, 2016

README.md

CP-8 Cookpad Bot

Deploy

Purpose

  • Keep trackers clean by cleaning out stale pull requests/issues
  • Help reviewers focus by tagging WIP pull requests
  • Tighten review loop by notifying when PRs need immediate attention
  • Move issues between projects

Usage

CP-8 can:

  • Close stale issues with no activity
  • Add a WIP label to PRs with "[WIP]" in title
  • Notify in specified Slack channel when:
    • a new (non-WIP) PR is opened
    • a WIP PR is "un-WIPped"
    • a :recycle: comment is posted
    • a PR is approved/has changes requested
    • a PR is blocking other PRs signified by having [Blocker] in the title
  • Automatically add new issues to projects

Setup

Configuration

Add .cp8.yml file to root of project, and turn on features by configuring them:

stale_issue_weeks: 4 # Set stale issue cutoff to 4 weeks
review_channel: reviews # Send review requests/updates to specified Slack channel
project_column_id: 49 # Automatically add new issues to a project column

User Mapping

Your GitHub username needs to be mapped to your Slack ID in order for CP8 to mention you:

  • Copy your Slack ID from your account settings
  • Submit a PR to this repo to add [github_name]: [slack_id] to /lib/user_mappings.yml. See, for example, this PR)

CLI

CP8 has a CLI counterpart, that while not required, provides some extra convenience for GitHub-driven projects in addition to what the bot offers.

You can’t perform that action at this time.