Skip to content

Conversation

@dmach
Copy link
Contributor

@dmach dmach commented Jan 2, 2026

WebUI has a checkbox for enabling maintainer edits you can check right away when creating a new pull request.
Also, it is possible to set allow_maintainer_edit in an existing pull request via API.
This change enables the option while creating a new pull request via API.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 2, 2026
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Jan 2, 2026
@dmach dmach force-pushed the new-pull-request-allow_maintainer_edit branch 2 times, most recently from 22e0927 to 0d19d92 Compare January 2, 2026 12:56
@dmach dmach force-pushed the new-pull-request-allow_maintainer_edit branch from 0d19d92 to ba4112e Compare January 5, 2026 08:55
@dmach dmach force-pushed the new-pull-request-allow_maintainer_edit branch from ba4112e to 67fbf7c Compare January 5, 2026 09:06
wxiaoguang
wxiaoguang previously approved these changes Jan 5, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jan 5, 2026
@wxiaoguang wxiaoguang added this to the 1.26.0 milestone Jan 5, 2026
@wxiaoguang wxiaoguang added the type/enhancement An improvement of existing functionality label Jan 5, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 5, 2026
@dmach dmach force-pushed the new-pull-request-allow_maintainer_edit branch from e58c481 to 70d1447 Compare January 5, 2026 10:20
@wxiaoguang

This comment was marked as resolved.

@wxiaoguang wxiaoguang dismissed their stale review January 5, 2026 10:26

Please restore my commits

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. labels Jan 5, 2026
@dmach dmach force-pushed the new-pull-request-allow_maintainer_edit branch from 70d1447 to e58c481 Compare January 5, 2026 12:06
@dmach
Copy link
Contributor Author

dmach commented Jan 5, 2026

Commits restored.
I apologize for the inconvenience.

@wxiaoguang
Copy link
Contributor

Never mind.

If the new changes look good to you, let's merge ~~

@GiteaBot GiteaBot removed the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 5, 2026
@GiteaBot GiteaBot added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Jan 5, 2026
@wxiaoguang wxiaoguang added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jan 5, 2026
@wxiaoguang wxiaoguang changed the title Add 'allow_maintainer_edit' option to the entry point for creating a pull request Add 'allow_maintainer_edit' API option for creating a pull request Jan 5, 2026
@wxiaoguang wxiaoguang merged commit 1d01286 into go-gitea:main Jan 5, 2026
24 checks passed
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jan 5, 2026
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jan 7, 2026
* giteaofficial/main:
  fix: generate IDs for HTML headings without id attribute (go-gitea#36233)
  Add 'allow_maintainer_edit' API option for creating a pull request (go-gitea#36283)
  fix: prevent panic when GitLab release has more links than sources (go-gitea#36295)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/enhancement An improvement of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants