Trouble when trying to test delivery of Pull Request webhook #14823

Open
opened 2025-11-02 11:23:47 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Mo0rBy on GitHub (Jul 31, 2025).

Description

Not sure if this is just being dumb or not, so I though I should post it and see if I get shot down or not 😆 .

I was trying to setup a webhook for "Custom Events... > Pull Request Events > Pull Requests" and I was using the "Test Delivery" button to try and test if my webhook was being received by my CI server.

With that specific option selected, I was getting absolutely nothing. No success or fail, it was as if no request was being sent at all.
I changed it to "Push Events" and tried to "Test Delivery" and BANG, I got a success/fail in the webhook history straight away.

I was stuck on this for a good few hours thinking I had something wrong with my networking or some wider problem.
As I said, I'm not sure if I'm just being dumb and for some reason the "Pull Requests" setting cannot be tested, so I thought it was worth mentioning in case it's a bug or someone else gets stuck.

Gitea Version

1.23.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Here is the configuration and evidence for the specific "Pull Request" setting:

Image Image Image Image

And here it is working for a more standard configuration:

Image Image Image

Git Version

2.47.2

Operating System

Amazon Linux 2

How are you running Gitea?

Containerised in an AWS EKS cluster, installed via the official Helm chart.

Database

PostgreSQL

Originally created by @Mo0rBy on GitHub (Jul 31, 2025). ### Description Not sure if this is just being dumb or not, so I though I should post it and see if I get shot down or not 😆 . I was trying to setup a webhook for "Custom Events... > Pull Request Events > Pull Requests" and I was using the "Test Delivery" button to try and test if my webhook was being received by my CI server. With that specific option selected, I was getting absolutely nothing. No success or fail, it was as if no request was being sent at all. I changed it to "Push Events" and tried to "Test Delivery" and BANG, I got a success/fail in the webhook history straight away. I was stuck on this for a good few hours thinking I had something wrong with my networking or some wider problem. As I said, I'm not sure if I'm just being dumb and for some reason the "Pull Requests" setting cannot be tested, so I thought it was worth mentioning in case it's a bug or someone else gets stuck. ### Gitea Version 1.23.8 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots Here is the configuration and evidence for the specific "Pull Request" setting: <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/c0fcb189-6576-4ae3-80c2-f1867e3b59af" /> <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/355b5af3-a488-4bdd-8cc6-9d9eba5125d9" /> <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/d2726d74-59f7-4f5e-a2f7-3a250f96f3b2" /> <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/c1146ea8-9a3a-4317-8b6d-7026dc366d92" /> And here it is working for a more standard configuration: <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/85e8430f-16f8-48ee-8afa-7eaf3bacf59f" /> <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/c9dbf129-d0d5-4b2a-b266-4ef6aceea8bf" /> <img width="3440" height="1440" alt="Image" src="https://github.com/user-attachments/assets/2c2fcaa4-7db0-4d59-815a-420071103a84" /> ### Git Version 2.47.2 ### Operating System Amazon Linux 2 ### How are you running Gitea? Containerised in an AWS EKS cluster, installed via the official Helm chart. ### Database PostgreSQL
GiteaMirror added the topic/webhookstype/bug labels 2025-11-02 11:23:47 -06:00
Author
Owner

@lunny commented on GitHub (Aug 1, 2025):

The test delivery appears to only attempt a push webhook, not other types.

@lunny commented on GitHub (Aug 1, 2025): The test delivery appears to only attempt a push webhook, not other types.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14823