From ee07773a78856e646274a60be484c34c39a269db Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 21 Nov 2024 00:00:59 +0000 Subject: [PATCH] add env var to main --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 41dfda7..0a3bd74 100644 --- a/main.py +++ b/main.py @@ -32,6 +32,7 @@ # Only secret required is the GitHub access token load_dotenv() GITHUB_ACCESS_TOKEN = os.getenv('GITHUB_ACCESS_TOKEN').strip() +os.environ["PATH"] = "/opt/slurm/bin:" + os.environ["PATH"] # Constants queued_workflows_url = f'{GITHUB_API_BASE_URL}/actions/runs?status=queued'