Skip to content

Commit

Permalink
add env var to main
Browse files Browse the repository at this point in the history
  • Loading branch information
alexboden committed Nov 21, 2024
1 parent b5c80ce commit ee07773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ee07773

Please sign in to comment.