-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unable to backport pulls with empty description (i.e. body) #175
Comments
Cannot read property 'match' of null
I think the issue is if the body (text) of the PR is empty. I'm guessing here: https://github.com/zeebe-io/backport-action/blob/3d81647b2ded9f404d573760c567b2fe4b324d2c/dist/index.js#L645 |
Hi @mjlbach, thanks for pointing this out! That's clearly a bug.
Yeah, definitely looks like that this is the problem and the action should support pull requests with empty bodies.
Yes, but only at runtime. The source code for that line is located here: Feel free to open a pull request to resolve this, if you happen to have time for it. |
I'll edit the issue title to reflect the root cause. The symptom is: Fails during PR creation with |
Cannot read property 'match' of null
This was a bug #175. Let's make sure it doesn't happen again.
This was a bug #175. Let's make sure it doesn't happen again.
Hi!
I'm currently unable to get the 0.6 release working with the backport action.
You can see the example repo here:
https://github.com/mjlbach/backport-test
For backporting the following PR:
https://github.com/mjlbach/backport-test/pull/4
with the aforementioned failure in the actions log
https://github.com/mjlbach/backport-test/runs/3946924742?check_suite_focus=true#step:3:29
The text was updated successfully, but these errors were encountered: