From a84701abaa73975e2180dfd8ec0ae0bb08f18f77 Mon Sep 17 00:00:00 2001 From: chair <29414216+chair28980@users.noreply.github.com> Date: Fri, 22 Sep 2023 01:13:20 -0700 Subject: [PATCH] chore: Update auto assign pr gh command (#761) * Create workflow for automatic assignment of a PR to its creator Create workflow for automatic assignment of a PR to its creator. * fix add assignee flag * update gh command --- .github/workflows/auto_assign_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_assign_pr.yml b/.github/workflows/auto_assign_pr.yml index 07340ac57..cd0fa596a 100644 --- a/.github/workflows/auto_assign_pr.yml +++ b/.github/workflows/auto_assign_pr.yml @@ -11,6 +11,6 @@ jobs: steps: - name: Assign PR to author run: | - gh pr update ${{ github.event.pull_request.number }} --add-assignee "${{ github.event.pull_request.user.login }}" + gh pr edit ${{ github.event.pull_request.number }} --add-assignee "${{ github.event.pull_request.user.login }}" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}