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

Move label triage to main repo #8

Open
mcornella opened this issue Oct 29, 2020 · 0 comments
Open

Move label triage to main repo #8

mcornella opened this issue Oct 29, 2020 · 0 comments

Comments

@mcornella
Copy link
Member

Keeping two copies of the same labels is a pain: we have to change the labels.json file when making a label modification in the main repo. We could move the labels.json file to the main repo and also keep track of the appropriate regexp to apply the label. This could be of the following format:

.github/labels.json:

{
	"Area: plugin": "^plugins/\\S+/",
	"Area: theme": "^themes/\\S+",
	...
}

Then, the triage action would grab this file and try to match the regexps, and if it matched, apply the label based on the key.

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

1 participant