1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/services/webhook
谈笑风生间 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
..
deliver_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
deliver.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
dingtalk_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
dingtalk.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
discord_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
discord.go Fix incorrect HookEventType of pull request review comments (#23650) 2023-03-24 13:13:04 +08:00
feishu_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
feishu.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
general_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
general.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
matrix_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
matrix.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
msteams_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
msteams.go Fix incorrect HookEventType of pull request review comments (#23650) 2023-03-24 13:13:04 +08:00
notifier.go New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
packagist_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
packagist.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
payloader.go New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
slack_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
slack.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
telegram_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
telegram.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
webhook_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
webhook.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
wechatwork.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00