diff --git a/main.py b/main.py index f5067dd..f020e8d 100644 --- a/main.py +++ b/main.py @@ -31,7 +31,7 @@ # Load GitHub access token from .env file # Only secret required is the GitHub access token load_dotenv() -GITHUB_ACCESS_TOKEN = os.getenv('GITHUB_ACCESS_TOKEN') +GITHUB_ACCESS_TOKEN = os.getenv('GITHUB_ACCESS_TOKEN').trim() # Constants queued_workflows_url = f'{GITHUB_API_BASE_URL}/actions/runs?status=queued'