esphome / probot-esphome

Probot to deal with PR/Issue automations for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Probot app to automate esphome repos on GitHub

This project is a fork from the Home Assistant Probot home-assistant/probot-home-assistant

Installation

  • Go to https://github.com/organizations/esphome/settings/apps and create new GitHub app
  • Generate Webhook secret by running openssl rand -base64 32 and fill in on the form.
  • Create the app (see Permission & Subscribe to events below)
  • Copy .env.example to .env and fill in the values; you can use smee during development.
  • Download the private key (bottom of app settings) and put in the root, name it github-app-probot-esphome-key.pem
  • Develop using npm run dev
  • Update GitHub app to set HTTP url to the deployed url
  • Install the GitHub app

On production server: NODE_ENV=production npm run start

Repositories

  • esphome/esphome
  • esphome/esphome-docs
  • esphome/issues
  • esphome/feature-requests

Permissions

  • Issues: Read & write
  • Pull requests: Read & write
  • Single file: Read-only, CODEOWNERS
  • Commit statuses: Read & Write
  • Organizaiton memebers: Read only

Subscribe to events

  • Issue comment
  • Issues
  • Label
  • Milestone
  • Pull request review
  • Pull request
  • Pull request review comment
  • Status

About

Probot to deal with PR/Issue automations for Home Assistant


Languages

Language:TypeScript 99.1%Language:Dockerfile 0.5%Language:Shell 0.4%