Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

git3po

NPM Package Build Status Coverage Status Commitizen friendly Dependencies

Automatically comments, labels, and closes GitHub issues and pull requests according to a configurable set of filters.

Usage

Install

npm install -g git3po

Configure

token: <secret>  # alternatively set via the `GIT3PO_GH_TOKEN` env variable.
repo: patrickhulce/git3po
startAt: 2017-07-01
filters:
  - type: issue
    criteria:
      state: open # open issues
      text:
        $match: test phrase # with title or body containing 'test phrase'
      author:
        $not:
          $in: [janesmith, johndoe] # whose author is not janesmith or johndoe
actions:
  - type: add_comment
    body: >
      Hello from the bots

      I'm an awesome multi-line comment
  - type: add_label
    label: duplicate
  - type: close

See also

Use

git3po -c config.yaml
💎  Found #1 (test phrase), processing...
     Applying add comment...             ⏳
     Applying add label...               ⏳
     Applying close...                   ⏳
✅  Done with #1

About

Automatically comments, labels, and closes GitHub issues according to a configurable set of filters.

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.