-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
[ QUESTION ] What's the purpose of ignoreComments #96
Comments
in your issue body you can have something like this: <!--
Use this keywords to fill up the issue
Critical level: low, high
"The button on login page is broken and aftects high number of users"
--> this way you can place the labels you expect on the issue template, but when read by the action the text wouldn't be set as label and you don't need to delete the comments when submitting the issue and if you want the opposite, ignoreComments: false <!--
Labels to apply: triage, bug, question
--> that way every label in the comment, will be applied |
I've ran an experiment. I created a new issue. The Action read the issue body and added the labels. All good but I commented on the issue with a simple words like "This isnt my issue. The issue is on the other code's issue" so the action should have caught the keywords from the comments and add a label, "not related". which it never did. I think it only focused on the issue body, not comments. |
it read comments inside issue body, not comments when you comment the issue like we are doing now |
That's what I thought at first. Unfortunately, I would like the auto-label to read the comments, so I don't have to manually add the label to the issue when it's not really related to the code but is related to other code. it happened a few times a month. One issue with auto-label I noticed is not working very well. under
It cannot match the keyword in the issue body but it only matched the label "1.20-loader". I tried to use There was no match at all and no label have been added. I've ran a few experiments to understand what worked and what don't work. If i changed the keyword in the issue body: |
Just a remind that the question above is not answered. it's in label_issue.json5 which i don't want it to add looking like this: {
labelsNotAllowed: [
'duplicate',
'help wanted',
'invalid',
'details'
]
} |
the keyword
ignoreComments
set to true. Is it to ignore the issue body, just focus on the title?if it's set to false, then it will read the issue body. The Auto-label doesn't have the ability to read the comments posted by other people including myself?
The text was updated successfully, but these errors were encountered: