[GH-ISSUE #22] Check for response status #718

Closed
opened 2026-04-16 13:53:07 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @AnandChowdhary on GitHub (Aug 28, 2020).
Original GitHub issue: https://github.com/joelwmale/webhook-action/issues/22

It'd be great if we could fail the status check if the server responds with a 40x or 50x status rather than an expected 20x repsonse.

Screen Shot 2020-08-28 at 16 48 20

In this example, I had no way of knowing that this webhook was triggered but the server threw an error.

Originally created by @AnandChowdhary on GitHub (Aug 28, 2020). Original GitHub issue: https://github.com/joelwmale/webhook-action/issues/22 It'd be great if we could fail the status check if the server responds with a `40x` or `50x` status rather than an expected `20x` repsonse. ![Screen Shot 2020-08-28 at 16 48 20](https://user-images.githubusercontent.com/2841780/91555263-4a361280-e94e-11ea-9fd7-d2f737e0905d.png) In this example, I had no way of knowing that this webhook was triggered but the server threw an error.
Author
Owner

@joelwmale commented on GitHub (Aug 29, 2020):

Your branch has been merged and released. Thanks again for your help on the project @AnandChowdhary!

<!-- gh-comment-id:683211269 --> @joelwmale commented on GitHub (Aug 29, 2020): Your branch has been merged and released. Thanks again for your help on the project @AnandChowdhary!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/webhook-action#718