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
It seems like trying to label something if it doesn't exist gives an insufficient permissions error, rather than some sort of "label not found" error which would make more sense. Example:
I think the issue there is just the case-sensitivity check for permissions. Generally, GitHub is case-insensitive for labels, but the triagebot code here is not. I believe glob supports case-insensitive matching, and a PR to update that would be welcome.
Thanks, I made the matching case insensistive in #1722. I still think the message could be improved - even if someone does @rustbot label +definitely-doesnt-exist it should say that the label doesn't exist rather than that permissions aren't sufficient
It seems like trying to label something if it doesn't exist gives an insufficient permissions error, rather than some sort of "label not found" error which would make more sense. Example:
rust-lang/rust#115719 (comment)
Also from that example, maybe labels should be checked case insensitive
The text was updated successfully, but these errors were encountered: