Closed brianamarie closed 5 years ago
Currently, it looks like there are two gates that are disabled. If the body is empty, we want to give one response, and if the body isn't empty, we want to give another response.
I'm guessing this is failing because both of these end with else statements, and without any other action, so things are getting hung up and not moving on.
The only difference in what would be posted is a paragraph in the response. What if, if the body isn't empty, we post an additional comment with the extra information? This also would reduce duplicated text in multiple files.
There's a logic bug here: https://github.com/githubtraining/introduction-to-github-apps/blob/36f26f39ac1e47a0c1f126821fe936b280d58245/config.yml#L86-L93