feat: add options.author
👋 Add support for options.author :
publisher.publish("log-YYMMAA", logContent, {
message: 'some commit message',
author: {
name: 'Clint',
email: '[email protected]'
}
})
Hi @voxpelli, any chance this can be merged ?
Yes, absolutely, sorry for delay
I think I would prefer to not just forward the author option but to actually pick the specific properties from it and just forward those. Then the API of this module doesn’t become coupled with the API of GitHub and accidental submits of extra data becomes impossible (if eg. one adds an object which implements author fields but also lots of other fields)
Ok, i'm not sure ive understood correctly but heres a fix to only pick name and email
Bump 😁