aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-03-28 15:08:13 +0530
committerArun Isaac2022-03-28 15:08:13 +0530
commit5a5902b238bc0bcfd528716cca997a3533637ad5 (patch)
tree6ce86a07b8562ba0e06f18e9878436562c6a55f9
parentc6847a6cb27d5f7e7ceedd4b7bd208940dfbc79b (diff)
downloadguix-forge-5a5902b238bc0bcfd528716cca997a3533637ad5.tar.gz
guix-forge-5a5902b238bc0bcfd528716cca997a3533637ad5.tar.lz
guix-forge-5a5902b238bc0bcfd528716cca997a3533637ad5.zip
webhook: Suffix -webhook in script name.
* guix/forge/webhook.scm (hooks-json-gexp): Suffix -webhook in script name.
-rw-r--r--guix/forge/webhook.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/forge/webhook.scm b/guix/forge/webhook.scm
index 737b9e6..0408e91 100644
--- a/guix/forge/webhook.scm
+++ b/guix/forge/webhook.scm
@@ -144,7 +144,8 @@ Everything else is the responsibility of the command's author.")
(map (cut map (cut apply cons <>) <>)
'#$(map (lambda (hook)
`(("id" ,(webhook-hook-id hook))
- ("execute-command" ,(program-file (webhook-hook-id hook)
+ ("execute-command" ,(program-file (string-append (webhook-hook-id hook)
+ "-webhook")
(webhook-hook-run hook)))))
(webhook-configuration-hooks config))))
<>)))))