-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: 👷 update author assigning workflow (#137)
This just matches the workflow with what we do in Seedcase, using the built-in GitHub CLI rather than some else's workflow.
- Loading branch information
1 parent
31614cc
commit dedc251
Showing
2 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Assign author to their PR | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- reopened | ||
- opened | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
assign-author-to-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign PR to author | ||
run: | | ||
gh pr edit $PR --add-assignee $AUTHOR | ||
env: | ||
AUTHOR: ${{ github.event.pull_request.user.login }} | ||
PR: ${{ github.event.pull_request.html_url }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file was deleted.
Oops, something went wrong.