action-label-syncer
action-label-syncer copied to clipboard
Import statements
An import statement would enhance our ability to share configs across repos. Common fields needed by all repos (such as Type: bug) could be placed in a common config file. Then, each repo has its own config file with its unique labels, and the common ones get imported. For example:
# common.yaml
- name: "Type: bug"
description: Something isn't working
color: d73a4a
# repo1.yaml
- import: common.yaml
- name: "Platform: iOS"
description: Issues specific to iOS
color: d73a4a
any objection to using _extends
instead of - import
like hubot plugins?
It's also implied, but not explicitly stated, that import
is a URL that could point to another repo/location