Обновить executor/handlers/config.py
Test Actions / Builder (push) Successful in 7s

This commit is contained in:
2026-03-19 22:45:07 +03:00
parent 648c49ff27
commit b5a657a8cd
+5 -1
View File
@@ -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)