From 40c94ef569c22d0c6fe140c5f103606594bc31d6 Mon Sep 17 00:00:00 2001 From: devdinc <234956748+devdinc@users.noreply.github.com> Date: Fri, 16 Jan 2026 14:14:24 +0300 Subject: [PATCH 1/2] Update action.yml --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 18b0d9d..e4a98bc 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,10 @@ name: 'Skript Tests' description: 'Runs Skript tests' inputs: + skript_repo_url: + description: "Git repository URL for Skript" + required: false + default: "https://github.com/SkriptLang/Skript.git" test_script_directory: description: 'The directory containing the tests to run' required: true From bef9d0d8a36cd58c94e8db1dcc5b1e1f018a9ae3 Mon Sep 17 00:00:00 2001 From: devdinc <234956748+devdinc@users.noreply.github.com> Date: Fri, 16 Jan 2026 14:15:59 +0300 Subject: [PATCH 2/2] Update run-tests.py --- run-tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run-tests.py b/run-tests.py index 9c39f96..93ea67b 100644 --- a/run-tests.py +++ b/run-tests.py @@ -23,7 +23,10 @@ class EnvironmentResource(TypedDict): test_script_directory = github_workspace_directory / os.environ['INPUT_TEST_SCRIPT_DIRECTORY'] skript_repo_ref = os.environ.get("INPUT_SKRIPT_REPO_REF", None) run_vanilla_tests = os.environ.get("INPUT_RUN_VANILLA_TESTS", None) == "true" -skript_repo_git_url = "https://github.com/SkriptLang/Skript.git" +skript_repo_git_url = os.environ.get( + "INPUT_SKRIPT_REPO_URL", + "https://github.com/SkriptLang/Skript.git" +) skript_repo_path = Path("/skript") skript_test_directory = skript_repo_path / "src" / "test" / "skript" / "tests" custom_test_directory = skript_test_directory / "custom"