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
When I attempt to use this labeler to label a new issue with an empty body, I get the following error message: "Could not get issue number or issue body from context, exiting".
We often turn task list entries into issues, and they are created with an empty body with no way to enter one. So the labeler fails whenever we do that.
The text was updated successfully, but these errors were encountered:
eaftan
added a commit
to eaftan/issue-labeler
that referenced
this issue
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.
Fixesgithub#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#33
When I attempt to use this labeler to label a new issue with an empty body, I get the following error message: "Could not get issue number or issue body from context, exiting".
We often turn task list entries into issues, and they are created with an empty body with no way to enter one. So the labeler fails whenever we do that.
The text was updated successfully, but these errors were encountered: