When someone submits a PR, it would auto-assign the tags; so yes, only PRs.
Could use something like this for issues, in conjunction with our templates (to ensure keywords we’re looking for are there)? It can also do PRs, though on first glance not based on paths; it only looks at the commit messages.
Here’s the key config parameter content:
[
{
"keywords":[
"bug",
"error"
],
"labels":[
"BUG"
],
"assignees":[
"username"
]
},
{
"keywords":[
"help",
"guidance"
],
"labels":[
"help-wanted"
],
"assignees":[
"username"
]
}
]
The hardest work is just determining the labels we want in the end!