-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Improve the pull-request subcription notification format by adding the description and files statistics #65828
Conversation
See #65439 (comment) for a test |
…e description and files statistics
16458f7
to
ec55412
Compare
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.
LGTM. Thanks for doing this, I like the format.
@@ -199,7 +246,6 @@ def extract_commit_hash(arg: str): | |||
|
|||
|
|||
class ReleaseWorkflow: | |||
|
|||
CHERRY_PICK_FAILED_LABEL = "release:cherry-pick-failed" |
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.
Stray whitespace change?
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.
This is black formatting!
patch = requests.get(self.pr.diff_url).text | ||
except: | ||
patch = "" | ||
diff_stats += "\n<pre>\n" + patch |
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.
Hi, I'm seeing this <pre>
getting escaped to <pre>
, so it no longer has the desired effect and the diff looks horrible in the github web UI. Example: #66188 (comment)
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.
This was changed in #66037 , I'm not totally sure why
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.
Fixing in #66322
No description provided.