-
I would like to now if Mergify can be told to add the original authors of strict rebased pr's as Co-Authors if it changes the author of the commits inside? The docs seems to not at least list an option to at least tell mergify that you want to set the original author as a co-author in the rebased commits on the PR if strict rebase is set. And yes I decided to migrate from rebase only PRs from the automerge github actions (which I had to hardcode users on the workflows which is not so nice really instead of hardcode it on just the label named As such I done this sort of merge options set:
As such I actually prefer the original authors to at least remain on the commits somewhere at least so I can properly |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The original author is always accessible, mergify[bot] is only the committer, not the author, for merge commits, and update commits. Otherwise, this can be done with |
Beta Was this translation helpful? Give feedback.
The original author is always accessible, mergify[bot] is only the committer, not the author, for merge commits, and update commits.
For squash commit (built by GitHub and not Mergify) GitHub adds by default to the message:
Co-authored-by: ...
Otherwise, this can be done with
update_bot_account: "{{ author }}"
andmerge_bot_account: "{{ author }}"
, but the author needs to be parts of the organization and have logged at least once on the Dashboard.