Просмотр исходного кода

fix: use exec for the disk space webhook example

Webhook-triggered actions cannot use shell:, so the example webhook on
"Check disk space" was rejected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jamesread 1 день назад
Родитель
Сommit
4946524756
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      config.yaml

+ 1 - 1
config.yaml

@@ -27,7 +27,7 @@ actions:
   - title: Check disk space
     acls: [guest_actions]
     icon: disk
-    shell: df -h /
+    exec: ["df", "-h", "/"]
     onclick: execution-dialog
     # Second webhook example: POST /webhooks?demo=disk-space
     execOnWebhook: