Inconsistent "gollum" webhook event payload - "pages" array "summary" #148213
Replies: 1 comment
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Description:
The
gollum
webhook event payload has inconsistent content regarding thepages
object array and its elements'summary
property. When it comes to commits, their commit message usually follows the following format, wherebody
is optional:When a commit is pushed to the wiki repository without the editor, passing the
body
is possible, but the wiki web editor only allows passing asubject
.The bug is: the
summary
field is documented asstring or null
. It returnsnull
if asubject
without abody
present is committed as a message. If asummary
and abody
is present, the field only returnssubject
. The field should always return thestring
of the commit message.Reproduction Steps:
gollum
event.pages
field and itssummary
field.body
will return thesubject
, and the one without thebody
will not return thesubject
, butnull
.Beta Was this translation helpful? Give feedback.
All reactions