Skip to content

Instantly share code, notes, and snippets.

@kuno
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuno/d661ceb78d498ee368ed to your computer and use it in GitHub Desktop.
Save kuno/d661ceb78d498ee368ed to your computer and use it in GitHub Desktop.
A brain storm for a meta yaml file to describe a hubot script.
name: "github-activity"
description: "some description text"
conflicts:
- githubot-activity-1
- githubot-activity-2
dependencies:
- name: "date-utils"
version: ">=1.2.5"
- name: "githubot"
version: "0.4.x"
configuration:
description: "HUBOT_GITHUB_TOKEN, HUBOT_GITHUB_USER,HUBOT_GITHUB_API (optional)"
envs:
- keyPattern: !!js/regexp /HUBOT_GITHUB_TOKEN/
valuePattern: !!js/regexp /[\w]{24}/i
- keyPattern: !!js/regexp /HUBOT_GITHUB_USER_(.*)/
valuePattern: !!js/regexp .*
- keyPattern: !!js/regexp /HUBOT_GITHUB_API/
valuePattern: !!js/regexp .*
optional: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment