From 5b7499258e0b05b080e9d9c1a73fb1add862076b Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sat, 21 Mar 2026 22:15:17 +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/cli/git.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- executor/cli/git.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/executor/cli/git.py b/executor/cli/git.py index ff13add..aaa8a79 100644 --- a/executor/cli/git.py +++ b/executor/cli/git.py @@ -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 + '"'