sfbrigade/github-auto-label

Name: github-auto-label

Owner: SFBrigade

Description: A small Node.js webhook service to auto-label new issues or PRs on submission

Created: 2016-04-01 17:19:09.0

Updated: 2018-01-30 03:10:17.0

Pushed: 2016-04-06 02:42:02.0

Homepage: null

Size: 8

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

github-auto-label

A small Node.js webhook service to auto-label new issues or PRs on submission

This micro-service depends on enviroment variables being set. Listed below are the required values.

Environment Variable | Description | Default ——————– | ———– | ——- GITHUB_REPOS | A comma-delimited list of repos to watch for (e.g. github-auto-label or github-auto-label,github-add) | undefined GITHUB_PR_LABELS | A comma-delimited list of labels to attach to new pull requests (leave empty to disable PR labeling) | undefined GITHUB_ISSUE_LABELS | A comma-delimited list of labels to attach to new issues (leave empty to disable issue labeling) | undefined GITHUB_TOKEN | A valid Github Access Token (Create a personal one here: https://github.com/settings/tokens/new) | undefined WEBHOOK_PATH | Server path for the webhook | / GITHUB_SECRET | Passphrase set up during Webhook addition | thisIsASuperSecretSecret PORT | Server port | 80

Set up a webhook for your repo


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.