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
{{ message }}
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
And the issue title is: Draft: Add foo to bar
The new title is now: Draft: Draft: Add foo to bar
Running it again results in Draft: Draft: Draft: Add foo to bar
And on into infinity.
Expected Behavior vs Actual Behavior
I would expect it to either do nothing on something that is already marked Draft: or remove the draft status in the same manner notes do.
Possible Fix
Steps to Reproduce
run glab mr update 13 --draft
then glab mr update 13 --draft
again runglab mr update 13 --draft
Notice there are at least three Draft: markers before the MR.
Your Environment
Version used (Run glab --version): glab version 1.22.0 (2022-01-10)
Operating System and version: MacOS 12.5
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.
Description
When I run:
glab mr update 13 --draft
And the issue title is: Draft: Add foo to bar
The new title is now: Draft: Draft: Add foo to bar
Running it again results in Draft: Draft: Draft: Add foo to bar
And on into infinity.
Expected Behavior vs Actual Behavior
I would expect it to either do nothing on something that is already marked Draft: or remove the draft status in the same manner notes do.
Possible Fix
Steps to Reproduce
glab mr update 13 --draft
glab mr update 13 --draft
glab mr update 13 --draft
Draft:
markers before the MR.Your Environment
glab --version
): glab version 1.22.0 (2022-01-10)The text was updated successfully, but these errors were encountered: