Skip to content

[workflow] escape issue/pr body only if it exists #71251

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

Closed

Conversation

5chmidti
Copy link
Contributor

@5chmidti 5chmidti commented Nov 3, 2023

Empty descriptions for issues should not exist, but might happen
accidentally.
Empty descriptions for prs may exist when no further explanation
beyond the pr title is needed.

For empty bodies, this script would crash in html.escape
because the type of the supposed str is NoneType.

Empty descriptions for issues should not exist, but might happen
accidentally.
Empty desciptions for prs may exist when no further explanation
beyond the pr title is needed.

For empty bodies, this script would crash in `html.escape`
because the type of the supposed str is NoneType.
@5chmidti
Copy link
Contributor Author

5chmidti commented Nov 3, 2023

@5chmidti 5chmidti closed this Nov 5, 2023
@5chmidti 5chmidti deleted the workflows_pr_subscribe_empty_pr_body branch November 2, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant