Open brandonlenz opened 1 year ago
@nicrie I have a hunch that this will fix it for me: https://github.com/trussworks/react-uswds/pull/2653/files#diff-cb22095514d0cab1f755ae3a7902f7d64d10199da210fbd1eb2b29eb758b38d2R223
Looking at your config file, it won't be the same resolution for you.
That said, if this does fix it for me I will update this issue to request error handling around the culprit so that the error messaging can be improved.
Thanks for the hint, @brandonlenz. How do you know that the commitType
will solve it for you? I still tried your solution myself, but - as you already indicated - to no avail.
Indeed it fixed it: https://github.com/trussworks/react-uswds/pull/2653#issuecomment-1810802029.
Updating issue.
Thanks for the hint, @brandonlenz. How do you know that the
commitType
will solve it for you? I still tried your solution myself, but - as you already indicated - to no avail.
I didn't know it would fix it, but I had a guess. I had to look at the underlying libraries used by the bot to see that my commitType
configuration was likely invalid. The other hint was the bot stopped working after that was added to our repo's config.
Describe the bug When fed a valid request, the bot says it is unable to process the request:
https://github.com/trussworks/react-uswds/pull/2618#issuecomment-1768572938
This was due to the repository config using a commitType that also included a scope. Reverting the scope fixed the issue:
https://github.com/trussworks/react-uswds/pull/2653#issuecomment-1810802029
To Reproduce Steps to reproduce the behavior:
Expected behavior The bot should properly create the contributor PR
OR
The bot should indicate what the problem is, in this case, specifically handling an error that I assume bubbles up from https://github.com/Berkmann18/commit-conv
Additional
Opened an issue with commit-conv: https://github.com/Berkmann18/commit-conv/issues/35 to allow scope.