From 41c7cb7f89ef66461fe9c6b60b2d697e3232803a Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Nov 01 2024 14:07:26 +0000 Subject: provide user for scm policy check --- diff --git a/plugins/builder/scmpolicy.py b/plugins/builder/scmpolicy.py index f120e33..5bdc105 100644 --- a/plugins/builder/scmpolicy.py +++ b/plugins/builder/scmpolicy.py @@ -26,7 +26,8 @@ def assert_scm_policy(clb_type, *args, **kwargs): 'build_tag': build_tag, 'method': method, 'scratch': scratch, - 'branches': get_branches(srcdir) + 'branches': get_branches(srcdir), + 'user_id': taskinfo['owner'], } # Merge scminfo into data with "scm_" prefix. And "scm*" are changed to "scm_*".