{"repo":"eslint/eslint-github-bot","free":true,"listed":false,"github":"https://github.com/eslint/eslint-github-bot","clone":"git clone https://github.com/eslint/eslint-github-bot.git","description":"Plugin-based GitHub bot for ESLint","language":"JavaScript","stars":69,"topics":["bot","github-bot","eslint-github-bot","probot","eslint"],"license":"MIT","category":"workflow-automation","readme_excerpt":"ESLint GitHub bot eslint-github-bot is a bot created with probot which automates some common tasks for repositories run by the ESLint team. Environment Variables: - APP ID (required): The numeric GitHub app ID - PRIVATE KEY (required): the contents of the private key you downloaded after creating the app. - WEBHOOK SECRET (required): Secret setup for GitHub webhook or you generated when you created the app. - PORT : Port for web server (optional, defaults to 8000) . :wrench: Setup - Clone this repo - npm install - npm test To start the server locally, you'll need: - A PEM file - A .env file that specifies the required environment variables The APP ID and WEBHOOK SECRET need to be present but need not be the registered application ID or webhook secret to start the server. PRIVATE KEY must be a valid PEM private key. Adding plugins To add a plugin: 1. Create the plugin as a new file in src/plugins . 1. Add the plugin to the list in src/plugins/index.js . 1. Add the plugin to the list in src/app.js to enable it by default. Deployment The bot is deployed to a Dokku instance named and is installed as a GitHub Application at the organization level. The URL to receive webhooks is the default for Probot, which is /api/github/webhooks . This must be configured for the app on the ESLint organization. Health Check Sponsors The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. Become a Sponsor to get your logo on our READMEs and web","default_branch":null,"files":null,"tree":[],"storefront":"/r/eslint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/eslint/eslint-github-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}