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
This commit is contained in:
chair 2023-09-22 01:13:20 -07:00 committed by GitHub
parent 3254d28968
commit a84701abaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}