1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-06 04:23:43 -04:00
gitea/models/user
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481)
close https://github.com/go-gitea/gitea/issues/16321

Provided a webhook trigger for requesting someone to review the Pull
Request.

Some modifications have been made to the returned `PullRequestPayload`
based on the GitHub webhook settings, including:
- add a description of the current reviewer object as
`RequestedReviewer` .
- setting the action to either **review_requested** or
**review_request_removed** based on the operation.
- adding the `RequestedReviewers` field to the issues_model.PullRequest.
This field will be loaded into the PullRequest through
`LoadRequestedReviewers()` when `ToAPIPullRequest` is called.

After the Pull Request is merged, I will supplement the relevant
documentation.
2023-05-24 22:06:27 -04:00
..
avatar.go
badge.go Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
email_address_test.go
email_address.go
error.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
external_login_user.go
follow_test.go
follow.go
list.go
main_test.go
must_change_password.go
openid_test.go
openid.go
redirect_test.go
redirect.go
search.go
setting_keys.go
setting_test.go
setting.go Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
user_system.go
user_test.go Only validate changed columns when update user (#24867) 2023-05-24 07:30:55 +00:00
user_update.go
user.go New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00