Mergifyio / Mergifyio/mergify

Backported commits hide attribution

Open
#1,522 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
339
Forks
93
PR merge metrics
No merged PRs in 30d

Description

When mergify creates a backport PR (for example) where the original commits have "Co-Authors", the co-author information is lost.

See this PR where there are 4 commits backported from this other PR. Note how the first two commits are the result of several people but that information seems to be lost on the cherrypicked commit.

I suspect the problem is the original commit message is modified to append (cherry picked from commit 5855906). GitHub expects the Co-Authored-By lines at the end of the commit message, so the modified commit message shadows that info.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the linked pull requests and compare the original and cherry-picked commit messages, focusing on how Mergify appends the cherry-pick reference. Done means Co-Authored-By lines remain at the end of the backported commit message and GitHub displays the original co-authors.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github, python
Domain
developer-experience, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.