action-label-syncer icon indicating copy to clipboard operation
action-label-syncer copied to clipboard

Import statements

Open joeyparrish opened this issue 2 years ago • 1 comments

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

joeyparrish avatar Feb 28 '22 22:02 joeyparrish

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

nnordrum avatar Aug 10 '22 18:08 nnordrum