Обновить executor/cli/git.py
Test Actions / Builder (push) Failing after 8s

This commit is contained in:
2026-03-21 22:15:17 +03:00
parent 656db79769
commit 5b7499258e
+13
View File
@@ -12,6 +12,7 @@ from executor.visitor import Visitor
from executor.state import State
from executor.core import config
from executor.handlers.config import handle_config
from executor.octokit import Octokit
def json_read(filename):
@@ -43,6 +44,18 @@ def handle_git(args):
REPOSITORY = INPUT_REPOSITORY
REF = INPUT_REF
octokit = Octokit(
url='https://codex.r10x.net/api/v1',
headers={
'Authorization': f'Bearer {INPUT_TOKEN}'
}
)
owner = 'meta'
repo = 'dsl'
client = octokit.repo(owner, repo)
response = client.get()
print(response)
def escape(text):
return '"' + text + '"'