Skip to content

Commit 124130a

Browse files
committed
formatting
1 parent f83f702 commit 124130a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/update_release_pr.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from os import getenv
2+
13
import requests
24

35

@@ -169,7 +171,7 @@ def update_pull_request_description(token: str, owner: str, repo: str, pr_number
169171

170172

171173
if __name__ == "__main__":
172-
github_token = os.environ.get("PR_GET_TOKEN")
174+
github_token = getenv("GITHUB_TOKEN")
173175

174176
if not github_token:
175177
print("Error: GITHUB_TOKEN environment variable not set.")

0 commit comments

Comments
 (0)