Skip to content

AcalaNetwork/bench-bot

 
 

Repository files navigation

acala-bench-bot

Benchmarking bot

Setup on your local machine

  1. yarn && yarn start

  2. Navigate to: http://localhost:3000

  3. Install the Github Bot onto appropriate repository

  4. Create a PR

  5. Post a comment /bench <action> <extra>, for example /bench runtime module module_currencies

Configuring

There should be .env file in the root (see .env.example):

APP_ID=<git hub app id>
WEBHOOK_SECRET=<github app secret - REQUIRED!>
PRIVATE_KEY_PATH=<path the the private key of the github app or PRIVATE_KEY=(replace new line with '\n')>
WEBHOOK_PROXY_URL=<web hook url (like https://smee.io), not required>

Add BASE_BRANCH=master or whatever is appropriate.

Permissions Needed

  • Metadata: Read Only
  • Issues: Read/Write
  • Pull Requests: Read/Write

Make sure to verify the permission increase if you change them.

Subscriptions Needed

  • issue
  • issue_comment

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.7%
  • JavaScript 37.6%
  • Other 0.7%