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

Support requested_reviewers data in comment webhook events #26178

Merged
merged 9 commits into from
Oct 16, 2024

Conversation

Makonike
Copy link
Contributor

@Makonike Makonike commented Jul 27, 2023

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.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 27, 2023
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 27, 2023
@Makonike Makonike changed the title feat: support requested_reviewers data in comment webhook events Support requested_reviewers data in comment webhook events Jul 27, 2023
@lunny lunny added the type/enhancement An improvement of existing functionality label Jul 27, 2023
@lunny lunny added this to the 1.21.0 milestone Jul 27, 2023
@lunny lunny modified the milestones: 1.21.0, 1.22.0 Sep 21, 2023
@lunny lunny modified the milestones: 1.22.0, 1.23.0 Mar 29, 2024
services/webhook/notifier.go Outdated Show resolved Hide resolved
@Makonike Makonike force-pushed the feature/webhook_reviewers_data branch from 923bb52 to 4156990 Compare September 24, 2024 16:40
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Sep 24, 2024
modules/structs/hook.go Outdated Show resolved Hide resolved
services/webhook/notifier.go Outdated Show resolved Hide resolved
@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 Sep 26, 2024
@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 Oct 15, 2024
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Oct 16, 2024
@lunny lunny enabled auto-merge (squash) October 16, 2024 08:40
@lunny lunny merged commit d50ed0a into go-gitea:main Oct 16, 2024
26 checks passed
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Oct 16, 2024
zjjhot added a commit to zjjhot/gitea that referenced this pull request Oct 17, 2024
* giteaofficial/main:
  Warn users when they try to use a non-root-url to sign in/up (go-gitea#32272)
  Fix null errors on conversation holder (go-gitea#32258) (go-gitea#32266)
  Support requested_reviewers data in comment webhook events (go-gitea#26178)
@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
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide reviewers/participants in webhook data for pull requests
4 participants