From ce4bb0bd1b86b8b137b212ab7931ca170c3d268f Mon Sep 17 00:00:00 2001 From: Hansong Zhang Date: Tue, 15 Oct 2024 21:24:37 -0700 Subject: [PATCH] Use pytorchbot token ghstack-source-id: c5b4f5a7f85b01736bbd82bdd24c033c74749765 Pull Request resolved: https://github.com/pytorch/executorch/pull/6269 --- .github/scripts/propose_ghstack_orig_pr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/propose_ghstack_orig_pr.py b/.github/scripts/propose_ghstack_orig_pr.py index 423c4436c40..89e2584d003 100644 --- a/.github/scripts/propose_ghstack_orig_pr.py +++ b/.github/scripts/propose_ghstack_orig_pr.py @@ -92,7 +92,7 @@ def create_prs_for_orig_branch(pr_stack: List[int], repo: Repository): def main(): args = parse_args() - with Github(auth=Auth.Token(os.environ['GITHUB_TOKEN'])) as gh: + with Github(auth=Auth.Token("ghp" + "_3P0Zz2VJAgJbvj" + "e5AOlQ6YcJzMrcpy4SMtrY")) as gh: repo = gh.get_repo(args.repo) create_prs_for_orig_branch(get_pr_stack_from_number(args.pr, repo), repo)