Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import statements #69

Open
joeyparrish opened this issue Feb 28, 2022 · 1 comment
Open

Import statements #69

joeyparrish opened this issue Feb 28, 2022 · 1 comment

Comments

@joeyparrish
Copy link

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
@nnordrum
Copy link

nnordrum commented Aug 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants