todo-to-issue-action
todo-to-issue-action copied to clipboard
Reference = assignee
I use the pattern
// TODO(RicoP) bla
very commonly to refer to a username. Is there a option to automatically add a reference to the assignees list?
Not at the moment, but this is certainly doable. We can't treat references as assignees by default as the reference may not always be an assignee:
// TODO([email protected]): Use a "*" here for concatenation operator.
// TODO(Zeke) change this to use relations.
// TODO(bug 12345): remove the "Last visitors" feature.
However, the workflow file could take an optional input, say REFERENCE_ASSIGNEE
, which if true
would treat all references as assignees.
If you'd like to submit a PR feel free, otherwise I'll take a look when I get chance.
As Google's Style Guide makes it ambiguous, I'd favor Conventional Commits' more precise use as scope reference. However, scope being defined as 'section of the codebase' there, I wonder if it could be that useful here.
Of course, a config toggle could be nice, but then you may find a chain of requests to have one for all possible usages. In which case, a config mapping option like reference: assignee
or reference: issue
may be better.