Skip to content

🤖 A simple bot to automate awesome-list related tasks for the Awesome MobX List

License

Notifications You must be signed in to change notification settings

hawkins/awesome-mobx-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awesome-mobx-bot

a GitHub App built with probot that automates awesome-list related tasks for the Awesome MobX List

Setup

# See below to configure the environment variables as needed

# Install dependencies
yarn install

# Run the bot (in local development)
yarn run dev

# Run the bot (in production)
yarn start

Configuring

The following environment variables are needed to run the bot:

  • APP_ID: Your GitHub App ID
  • Private key
    • PRIVATE_KEY_PATH: Path to your GitHub-provided Private Key (recommended for local development)
    • PRIVATE_KEY: String form of your GitHub-provided Private Key (recommended for production on Now.sh)
  • WEBHOOK_PROXY_URL: A URL provided by smee.io (for development only)
  • WEBHOOK_SECRET: Secret set in your GitHub App settings

Testing

Simulating webhooks

# Pick a fixture and action, then sub in here
probot simulate issues __tests__/fixtures/issue_link_primitive.json index.js

Deployment

Configure now by adding secrets:

now secrets add mobxbot-webhook-secret <SECRET_GOES_HERE>
now secrets add mobxbot-private-key "$(cat private-key*.pem | base64)"

# Finally deploy the app
now
now alias

See docs/deploy.md if you would like to run your own instance of this app.

About

🤖 A simple bot to automate awesome-list related tasks for the Awesome MobX List

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published