From 6409846a94409bcc352529113c2a310fbf9f884b Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 23 Oct 2025 22:52:34 +0200 Subject: [PATCH] update config file - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284 --- templates/r10k/hook_config.erb | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/templates/r10k/hook_config.erb b/templates/r10k/hook_config.erb index 9cb0066..f0aaeac 100644 --- a/templates/r10k/hook_config.erb +++ b/templates/r10k/hook_config.erb @@ -8,22 +8,12 @@ { "source": "string", "name": "environment" }, { "source": "string", "name": "-pv" } ], + "trigger-rule": { - "and": [ - { - "match": { - "type": "payload-hash-sha1", - "secret": "<%= @pt_webhook_secret %>" - } - }, - { - "match": { - "type": "payload", - "parameter": "ref", - "value": "refs/heads/production" - } - } - ] + "match": { + "type": "payload-hash-sha1", + "secret": "<%= @pt_webhook_secret %>" + } } } ]