From 1ec494fb0de4415d058356dce74e1378e92a99e3 Mon Sep 17 00:00:00 2001 From: Benjamin Balder Bach Date: Sun, 25 Apr 2021 13:26:02 +0200 Subject: [PATCH] Clarify version number for which the example works #461 changed option name and in https://github.com/adnanh/webhook/pull/528#issuecomment-826165812, @moorereason suggests to look at old tags of example documentation. This would mean that users have to read through random old documentation to discover why their packaged version doesn't work . Suggesting that clarity in the examples is preferable. Recall that renaming this doesn't give the user some easy exception. It just mean that the trigger isn't satisfied, so there are A LOT of options for debugging. (which takes a lot of time to do, so that's why this information is important) --- docs/Hook-Examples.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Hook-Examples.md b/docs/Hook-Examples.md index 36e4ddc2..2b8af74e 100644 --- a/docs/Hook-Examples.md +++ b/docs/Hook-Examples.md @@ -23,6 +23,9 @@ although the examples on this page all use the JSON format. * [Pass string arguments to command](#pass-string-arguments-to-command) ## Incoming Github webhook + +This example works on 2.8+ versions of Webhook - if you are on a previous series, change `payload-hmac-sha1` to `payload-hash-sha1`. + ```json [ {