Skip to content
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

Tolerate empty issue body #34

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

eaftan
Copy link
Contributor

@eaftan eaftan commented Feb 14, 2022

Previously the code was checking whether issue_body was falsy.
The empty string is considered falsy, which would make this Action
fail when the issue body was empty. Instead, explictly compare
against undefined and tolerate issues with empty bodies.

Fixes #33

Previously the code was checking whether `issue_body` was falsy.
The empty string is considered falsy, which would make this Action
fail when the issue body was empty.  Instead, explictly compare
against `undefined` and tolerate issues with empty bodies.

Fixes github#33
@eaftan
Copy link
Contributor Author

eaftan commented Feb 14, 2022

FYI, this is a blind fix. I'm not super familiar with Actions and don't even know how to manually test it. Happy to do that if you can give me advice on how.

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.

Labeler fails when issue body is empty
2 participants