Skip to content

Commit

Permalink
chore: Update auto assign pr gh command (#761)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
chair28980 authored Sep 22, 2023
1 parent 3254d28 commit a84701a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto_assign_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a84701a

Please sign in to comment.