From b5a657a8cd946b53008717cd669c8fd9600e2e05 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Thu, 19 Mar 2026 22:45:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20executor/handlers/config.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- executor/handlers/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/executor/handlers/config.py b/executor/handlers/config.py index 2cd2a3c..ec603c0 100644 --- a/executor/handlers/config.py +++ b/executor/handlers/config.py @@ -1,8 +1,11 @@ __author__ = 'RemiZOffAlex' __email__ = 'remizoffalex@mail.ru' +import json + from os import getenv + def handle_config(config): INPUT_REF = getenv('INPUT_REF') if len(INPUT_REF)==0: @@ -12,4 +15,5 @@ def handle_config(config): config['github.event.path'] = getenv('GITHUB_EVENT_PATH') with open(config['github.event.path'], 'r') as fd: - print(fd.readlines()) + data = json.load(fd) + print(data)