Plugin-based GitHub bot for ESLint
eslint-github-bot
is a bot created with probot which automates some common tasks for repositories run by the ESLint team.
The bot can perform the following tasks:
needs info
label.release
/tsc meeting
label scheduled two weeks later, after another release/TSC meeting issue is closed.release
and patch release pending
labels, indicating that a patch release might soon be created from master
. If an issue is found, adds a pending status check to all PRs that would require a semver-minor release, to prevent anyone from accidentally merging them.success
.Build|Chore|Docs|Upgrade
in the commit message.npm install
npm start
to start it as a GitHub APPPORT
: Port for web server (optional, defaults to 8000).SECRET
: Secret setup for GitHub webhook or you generated when you created the app.PRIVATE_KEY
: the contents of the private key you downloaded after creating the app.APP_ID
: The numeric app IDTo add a plugin:
src/plugins
.src/plugins/index.js
.src/app.js
to enable it by default.The bot is deployed to a Dokku instance named github-bot.eslint.org and is installed as a GitHub Application at the organization level.