Skip to content

🤖 Automatically add cards of Issue/Pull Request on a Project board

Notifications You must be signed in to change notification settings

daido1976/pj-card-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pj-icon PJ Card Bot

🤖 A GitHub App built with Probot that automatically adding cards of Issue/Pull Request on a Project board.

This bot is inspired by philschatz/project-bot.

Installation

Go to the GitHub App page and click Install (or Configure if you already installed it).

What's the difference with project-bot?

Unlike the project-bot, the PJ Card Bot has the following specifications.

  • The automation rule card must be at the bottom of a column and set PJ Card Bot Rules in the heading.
  • Only three rules can be set, new_issue, new_pullrequest, and added_label.
  • When added_label, a new card is added to the project. (This is my motivation for creating this bot.)

Example

The way to set the automation rule card is almost the same as the project-bot.

###### PJ Card Bot Rules

<!-- Documentation: https://github.com/daido1976/pj-card-bot -->

- `added_label` **dependencies** **security**
- `new_pullrequest` **repo-name1** **repo-name2**
- `new_issue`

Now, when the dependencies or security label is added, a new card is adding to the column where the rule card is placed. And, when the new Pull Request is opened in repo-name1 or repo-name2, a new card is adding to the column in the same way. Finally, when the new Issue is opened in any repositories, a new card is adding to the column.

Development

See. https://probot.github.io/docs/development/#running-the-app-locally

# build & watch
$ npm run dev

About

🤖 Automatically add cards of Issue/Pull Request on a Project board

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published