Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Webhook value requested_reviewers is not up to date #35327

Closed
@kim2048

Description

Description

Hello,
when I create a PR via the web ui and add one (or more) reviewer I get 2 webhook actions:

opened
 pull_request -> requested_reviewers : []
review_requested
 pull_request -> requested_reviewers : []
 requested_reviewer : <correct user>

The pull_request -> requested_reviewers will only be correct after the next change to the pr.

For PRs with automatically added reviewers via the CODEOWNERS file I get those actions:

review_requested
 pull_request -> requested_reviewers : <correct users>
 requested_reviewer : <correct user>
opened
 pull_request -> requested_reviewers : <correct users>

Here the requested_reviewers field is set correct (no idea why I get the review_requested first, but that's fine).

Btw: Is anyone else using the webhook api? I found so many bugs there - I must be the only one ;)

Gitea Version

1.24.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

No idea

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /