Skip to content
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

Provide reviewers/participants in webhook data for pull requests #25833

Closed
shollander opened this issue Jul 11, 2023 · 1 comment · Fixed by #26178
Closed

Provide reviewers/participants in webhook data for pull requests #25833

shollander opened this issue Jul 11, 2023 · 1 comment · Fixed by #26178
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@shollander
Copy link

Feature Description

The json data posted by outgoing webhooks for pull request events currently contains assignees, but not reviewers or participants (both of which show in the UI as part of a PR).
It would be very useful to have a list of the reviewers and participants in the webhook data.

Screenshots

No response

@shollander shollander added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jul 11, 2023
@shollander
Copy link
Author

I noticed that as of 1.20.0, requested_reviewers are included in some webhook events.
It seems they are included in review events, but not comment events. I would think they should be included in all PR events.

It would also be nice to have participants included in all events.

lunny pushed a commit that referenced this issue Oct 16, 2024
close #25833 

Currently, the information for "requested_reviewers" is only included in
the webhook event for reviews. I would like to suggest adding this
information to the webhook event for "PullRequest comment" as well, as
they both pertain to the "PullRequest" event.

Also, The reviewer information for the Pull Request is not displayed
when it is approved or rejected.
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant