Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace conflict strategy does not update PR body #355

Open
andyren0110 opened this issue Jun 29, 2023 · 1 comment
Open

Replace conflict strategy does not update PR body #355

andyren0110 opened this issue Jun 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@andyren0110
Copy link

Describe the bug
I ran multi-gitter once to create some PRs.
Later I wanted to update the body of the PR by changing the value of -b but it does not upgrade the content of the PR.

To Reproduce
Steps to reproduce the behavior:
multi-gitter run -O -m "message" -B branch -b "some body"
multi-gitter run -O -m "message" -B branch --conflict-strategy replace -b "some other body"

PR body remains "some body"

Expected behavior
Expect the PR body to change to "some other body"

Additional context
Add any other context about the problem here.
It is for example often useful to include detailed logs from a run with --log-level=trace.

@andyren0110 andyren0110 added the bug Something isn't working label Jun 29, 2023
@lindell
Copy link
Owner

lindell commented Jun 30, 2023

Not a bug per se, since it has not been intended to do that

Replace the existing content of the branch by force pushing any new changes, then reuse any existing pull request, or create a new one if none exist.

But it could definitely be added, but that would also have to be true for all fields of a PR, like reviewers, title, draft status, etc.
I will not prioritize this myself but would happily merge a PR where this is added.

Until then, closing all PRs and running it again might suffice.

@lindell lindell added enhancement New feature or request and removed bug Something isn't working labels Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants