Skip to content

liuderchi/gh-template-bot

Repository files navigation

GitHub Template Bot

Build Status Dependency Status DevDependency Status PeerDependency Status license

πŸ€– Generate Markdown Templates for different Issues, Pull Requests and even Feature Requests

Quick Start

  1. Install Template Bot at GitHub Apps Page

  2. Now you can type one of these commands in issue/PR then submit

  • /template issue for general issues
  • /template feature to Propose a Feature in issue
  • /template pr for general pull request
  • /template ReplyDup to fetch your own .github/ReplyDup.md template
  • /template to ask πŸ€– for help
  1. Refresh the page. Template Bot will create Markdown Template for you πŸŽ‰

Demo

demo1


demo2


Forgot command? Don't worry. Bot will help you πŸ’―

demo3

Why

We create issues for different purposes:

Report a Bug, Propose a Feature, Asking for Help ...

But we are used to setup one ISSUE_TEMPLATE.md for our workflow.
So Template Bot is built to generate templates for different scenarios.

Dev Guide

Run on Local Machine

  • Requirements
    • Node >= 10
    • Yarn >= 1.3.2
  • Environment
    • create file .env from .env.example
    • edit .env and set APP_ID according to your GitHub App
    • download private key to project root according to your GitHub App
    • NOTE: to create and config a Github App please follow this Probot doc
  • Install and Run
$ yarn --pure-lockfile
$ yarn run start:nodemon

Test

$ yarn run jest

Deploy to Heroku

$ sh jobs/deploy-heroku.sh

Notes

LICENSE

MIT license https://liuderchi.mit-license.org

About

πŸ€– Generate PR Description from Templates for Different Issues and PR

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy