gh-workflow-bot

1.0.0 • Public • Published

gh-workflow-logo

GitHub Workflow Bot

Test codecov

A GitHub App built with Probot that triggers GitHub workflows on command.

Usage

  1. Configure the GitHub App

  2. Use it in pull requests:

gh-workflow-bot usage

Deploy your own instance

If you would like to run your own instance of this app, see the docs for deployment.

This app requires these Permissions & events for the GitHub App:

  • Action - Read & write
  • Contents - Read-only
  • Issues - Read & write
    • Check the box for Issue comment events
  • Repository metadata - Read-only
  • Pull requests - Read & write

Development

  1. Create new Github App (look at previous section for needed permissions)
  2. Setup .env file with values (see .env.example)
# Install dependencies 
npm install
 
# Run in dev mode 
npm run dev
 
# Check code 
npm run check-lint
 
# Fix lint problems 
npm run fix-lint
 
# Run tests with coverage 
npm run test
 
# Run test with reload 
npm run test:watch
 
# Run the bot 
npm start

Contributing

If you have suggestions for how gh-workflow-bot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

Credits

Business vector created by freepik

License

ISC © 2020 Grega Vrbančič grega.vrbancic@gmail.com

Dependents (0)

Package Sidebar

Install

npm i gh-workflow-bot

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

378 kB

Total Files

35

Last publish

Collaborators

  • gregavrbancic