You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The action will parse titles with the format (area) title into an array containing multiple empty strings.
Reproduction Steps
Submit an issue with the format (area) title, and the array of words which will be compared to keywords will be:
['', 'area', '', 'title']
Other Info
I'm not sure why the first empty string appears, but any other empty strings seem to appear when there are at least two characters adjacent to each other which used to split the string returned by the Github API.
Additionally, the way punctuation is handled in this action isn't clear and should be more transparent.
It should also be more configurable by the user. Currently, nearly all punctuation is ignored when comparing strings to keywords:
What is the problem?
The action will parse titles with the format
(area) title
into an array containing multiple empty strings.Reproduction Steps
Submit an issue with the format
(area) title
, and the array of words which will be compared to keywords will be:['', 'area', '', 'title']
Other Info
I'm not sure why the first empty string appears, but any other empty strings seem to appear when there are at least two characters adjacent to each other which used to split the string returned by the Github API.
This is set here:
aws-issue-triage-manager/src/issue.ts
Lines 26 to 37 in 6936d0a
Additionally, the way punctuation is handled in this action isn't clear and should be more transparent.
It should also be more configurable by the user. Currently, nearly all punctuation is ignored when comparing strings to keywords:
aws-issue-triage-manager/src/issue.ts
Lines 138 to 143 in 6936d0a
The text was updated successfully, but these errors were encountered: