You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backporting to backport/v1.8 on backport-6-to-backport/v1.8.
/usr/bin/git switch backport/v1.8
Switched to a new branch 'backport/v1.8'
branch 'backport/v1.8' set up to track 'origin/backport/v1.8'.
/usr/bin/git switch --create backport-6-to-backport/v1.8
Switched to a new branch 'backport-6-to-backport/v1.8'
/usr/bin/git cherry-pick -x c2379e2d74ebfe72ca90610dda32aa0a68e44f48
error: commit c2379e2d74ebfe72ca90610dda32aa0a68e44f48 is a merge but no -m option was given.
fatal: cherry-pick failed
/usr/bin/git cherry-pick --abort
error: no cherry-pick or revert in progress
fatal: cherry-pick failed
Error: Error: The process '/usr/bin/git' failed with exit code 128
Context
I have been testing the backport action on Neudrino/magma#6 with the run https://github.com/Neudrino/magma/runs/7803925676?check_suite_focus=true.
Problem
The run fails with
Expected behaviour
The action should work for merged commits.
Additional information
To me it seems as if
https://github.com/tibdex/backport/blob/main/src/backport.ts#L106
is missing the
--mainline 1
option. Interestingly, it is given in the error description correctly:https://github.com/tibdex/backport/blob/main/src/backport.ts#L167
The text was updated successfully, but these errors were encountered: