-
Notifications
You must be signed in to change notification settings - Fork 26
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
Removed use of # from the PR number #1249
Removed use of # from the PR number #1249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks.
In the screen shot you provide in this pull request you show sample text that reads "#749." It is not replaced with "private channel" possibly because our instance of Slack does not have a channel named 749 whereas it did seem to have a channel named "777" or some other number. So this example does not seem to prove there is no problem. Can you try a test where you use a string from a github issue you open or perhaps you use your own dummy string that reads the same as a known existing channel? |
@vaisakhkannan Can we completely avoid using the # sign? As Paul mentioned, there's a chance that another PR number might have a channel with that format, which could cause an issue. |
@anusreelakshmi934 , @turkeylurkey ![]() I found a fix today and tested it with the latest changes, and it is working as expected for the '#' case. However, for the other special character '@' case, I couldn't identify the problem. I have added Slack IDs starting with '@' in the dummy PRs, and they are displaying correctly as expected. Below is the screenshot including the fix of # usages. ![]() ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Fixes #1244
Removed use of Special character # from the PR number for the slack message
With the latest changes in this PR there is no issue with the text from GitHub (title of the PR), and it include '#' or '@' characters without any problems.