-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Can not set default_delete_branch_after_merge using API #21077
Comments
This has the same root cause as #13622 I'm going to close this issue as the parent issue would subsequently fix this, and by mentioning it I've linked them together. 🙂 |
@jolheiser not sure if this is related. I do not even see this parameter returned by the api. Btw, the supposed parent is opened for two years. If there a solution for it? |
#21130, if I understand that correctly. |
Found it. The json must also contain has_pull_requests: true
|
This PR would presumably Fix #20522 Fix #18773 Fix #19069 Fix #21077 Fix #13622 ----- 1. Check whether unit type is currently enabled 2. Check if it _will_ be enabled via opt 3. Allow modification as necessary Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
Description
It is not possible to set default_delete_branch_after_merge using API.
E.g.
Gitea Version
1.16.5
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: