We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9427a commit 4707864Copy full SHA for 4707864
1 file changed
.github/scripts/docathon-label-sync.py
@@ -7,13 +7,10 @@
7
8
def main() -> None:
9
token = os.environ.get("GITHUB_TOKEN")
10
-
11
- repo_owner = "pytorch"
12
- repo_name = "pytorch"
13
pull_request_number = int(sys.argv[1])
14
15
g = Github(token)
16
- repo = g.get_repo(f"{repo_owner}/{repo_name}")
+ repo = g.get_repo(os.environ.get("GITHUB_REPOSITORY", "pytorch/executorch"))
17
pull_request = repo.get_pull(pull_request_number)
18
pull_request_body = pull_request.body
19
# PR without description
0 commit comments