todo-to-issue-action icon indicating copy to clipboard operation
todo-to-issue-action copied to clipboard

Label TODO is being appended to issue though alternative labels specified

Open mraht opened this issue 1 year ago • 1 comments

In an ABAP test report I use the following line to specify a TODO: ##FIX " Fix wrong number (0001 > 0003) "assignees: mraht

This generates the following issues: image

As one can see from the screenshot an additional TODO flag is being added though I defined default flags: IDENTIFIERS: '[{"name": "NEW", "labels": ["new"]}, {"name": "FIX", "labels": ["bug"]}, {"name": "OPT", "labels": ["opt"]}]'

mraht avatar Nov 09 '23 11:11 mraht

Hi. Thanks for the report. The todo label is automatically appended regardless of any custom labels as it is used by the action to check for any existing issues that it has created previously, to help avoid duplication. It might not be an ideal scenario but it's the way things work as it stands.

https://github.com/alstr/todo-to-issue-action/blob/5c97b3cb39d2d868453245e62bccc9a022b6d680/main.py#L97

alstr avatar Nov 09 '23 14:11 alstr