planetscale / ghcommit-action

GitHub Action to commit files to a git branch using the ghcommit utility
Apache License 2.0
30 stars 4 forks source link

Setting `author` and `committer` #70

Closed GrantBirki closed 1 week ago

GrantBirki commented 2 months ago

Hi folks! Great Action and I plan on giving it a go for a new project.

I'm curious if you have a way (via inputs or other methods), to set committer and author when pushing commits via this Action. Thanks! 🙇

joemiller commented 1 week ago

@GrantBirki This is not supported by the createCommitOnBranch graphql mutation - https://docs.github.com/en/graphql/reference/mutations#authorship

Similar to the web commit interface, this mutation does not support specifying the author or committer of the commit and will not add support for this in the future.