Fix review submission from single-commit PR view#37475
Merged
wxiaoguang merged 3 commits intogo-gitea:mainfrom Apr 29, 2026
Merged
Fix review submission from single-commit PR view#37475wxiaoguang merged 3 commits intogo-gitea:mainfrom
wxiaoguang merged 3 commits intogo-gitea:mainfrom
Conversation
Use the PR files view as the canonical review submission target so the review modal does not post to an unrouted single-commit URL. Co-authored-by: Hermes Agent (OpenAI GPT-5.5) <noreply@nousresearch.com>
wxiaoguang
approved these changes
Apr 29, 2026
lunny
approved these changes
Apr 29, 2026
bircni
pushed a commit
that referenced
this pull request
Apr 29, 2026
Backport #37475 by @cyphercodes Fixes #37415. Pin the review submission form action to the canonical PR files route Co-authored-by: Rayan Salhab <r.salhab@aiyexpertsolutions.com> Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com> Co-authored-by: Hermes Agent (OpenAI GPT-5.5) <noreply@nousresearch.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
silverwind
added a commit
to silverwind/gitea
that referenced
this pull request
Apr 30, 2026
* origin/main: Refactor CI workflows (go-gitea#37487) Allow multiple projects per issue and pull requests (go-gitea#36784) [skip ci] Updated translations via Crowdin Refactor compare diff/pull page (1) (go-gitea#37481) Fix review submission from single-commit PR view (go-gitea#37475) Refactor integration tests infrastructure (go-gitea#37462) Fix allow maintainer edit permission check (go-gitea#37479) Serve OpenAPI 3.0 spec at /openapi.v1.json (go-gitea#37038) Batch-load related data in actions run, job, and task API endpoints (go-gitea#37032) Add DEFAULT_TITLE_SOURCE setting for pull request title default behavior (go-gitea#37465) Fix compare dropdown for branches without common history (go-gitea#37470) FIX: URL sanitization to handle schemeless credentials (go-gitea#37440) Refactor pull request view (4) (go-gitea#37451) # Conflicts: # modules/indexer/issues/elasticsearch/elasticsearch.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37415.
Pin the review submission form action to the canonical PR files route