-
Is there a way for Mergify to open a PR? Our team has a unique workflow. Would love to use mergify to automate some of these tasks. We primarily have 2 branches: Our Its sort of like So therefore, I want to create a rule with Mergify that does the above automatically. However, I'm not sure if its possible after reading the documentation. I would need the following features in order to do this:
If there's such a way, it might look something like this:
Can you let me know if something like this is possible with mergify? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What you call We don't have a I don't see how we can keep the same sha1 with your workflow, Git needs that the two branches have exactly the same history to do that or you need to use a Mergify is focused on pull requests, while you want something to keep your main branch in sync with your release branch. Maybe you can use something https://github.com/wei/pull, you can configure it to create a pull request of all changes in |
Beta Was this translation helpful? Give feedback.
What you call
branch_name
is the attributehead
, so you can write with a regex something likehead~=release/.*
.We don't have a
create_pr
but we have seen you can usebackport
orcopy
action. And yes It uses cherry-pick under the hood and doesn't preserve sha1 of commits.I don't see how we can keep the same sha1 with your workflow, Git needs that the two branches have exactly the same history to do that or you need to use a
merge commit
and may embark commits that are not part of the initial pull request.Mergify is focused on pull requests, while you want something to keep your main branch in sync with your release branch.
Maybe you can use something https://github.com/wei/pull, you can…