From f99659cea871339c3f38eb61c1354a02cb58dc57 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 9 Jun 2023 11:35:23 -0700 Subject: [PATCH] koji_hub: re-add scm policy for scm plugin Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/hub.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index 8a30df4c2c..7051342361 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -245,3 +245,9 @@ build_from_scm = } all :: deny {% endif %} + +scm = + # allow scratch builds from any commits + bool scratch :: allow + match_all branches * !! deny Commit must be present on some branch + all :: allow