8000 GitHub - artygus/cp8: Cookpad GitHub App
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

artygus/cp8

 
 

Repository files navigation

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
mention_threshold: 100 # Only PRs with less additions than this limit will trigger mentions (default 100)

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
    • In the Slack desktop application, click your name in the top left then click 'Profile & account'. On the Profile panel that opens, click the vertical ellipses button which should be below your profile photo to the right of the 'Edit Profile' button, then select 'Copy Member ID'.
  • 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.

About

Cookpad GitHub App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%
0