Skip to content

Commit

Permalink
trim env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alexboden committed Oct 27, 2024
1 parent d7826de commit c3204c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c3204c0

Please sign in to comment.