🤖 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.
Go to the GitHub App page and click Install
(or Configure
if you already installed it).
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
, andadded_label
. - When
added_label
, a new card is added to the project. (This is my motivation for creating this bot.)
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.
See. https://probot.github.io/docs/development/#running-the-app-locally
# build & watch
$ npm run dev