Git Product home page Git Product logo

cp8's Introduction

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.

cp8's People

Contributors

aadityataparia avatar balvig avatar brunobrgs avatar dannyd4315 avatar dependabot-support avatar greysteil avatar knack avatar mediafinger avatar ollieh-m avatar pauchan avatar robertomiranda avatar sikachu avatar tapster avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.