Update create-change.py and create-release.py to point to the microsoft/WSL repository (#12919)

Blue committed May 19, 2025 at 19:33 UTC 541321e58b2dcf3d6dbcdacd0ef4c5c21493cc16
2 files changed +2 -3
tools/devops/create-change.py
+1 -1
@@ -4,7 +4,7 @@ import json
4 from git import Repo
5
6 COMMITER_EMAIL = 'noreply@microsoft.com'
7 -REPO = 'microsoft/wsl-staging' # OSSTODO: Replace with microsoft/wsl once fully open source
7 +REPO = 'microsoft/wsl'
8
9 @click.command()
10 @click.argument('repo_path', required=True)
tools/devops/create-release.py
+1 -2
@@ -76,8 +76,7 @@ def get_github_pr_message(token: str, message: str) -> str:
76 'Authorization': 'Bearer ' + token,
77 'X-GitHub-Api-Version': '2022-11-28'}
78
79 - # OSSTODO: Update repo once open source
80 - response = requests.get(f'https://api.github.com/repos/microsoft/wsl-staging/pulls/{pr_number}', timeout=30, headers=headers)
79 + response = requests.get(f'https://api.github.com/repos/microsoft/wsl/pulls/{pr_number}', timeout=30, headers=headers)
80 response.raise_for_status()
81
82 return response.json()['body'], pr_number