Skip to content

Commit

Permalink
Merge pull request #214 from OrlinVasilev/auto-assignee
Browse files Browse the repository at this point in the history
  • Loading branch information
OrlinVasilev authored Feb 23, 2023
2 parents d64b350 + c80ddcf commit c5768c1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/auto-assignees.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# This assigns a PR to its author
addAssignees: true

addReviewers: false

assignees:
- wy65701436
- Vad1mo
- OrlinVasilev
- stonezdj
- chlins
- zyyw
- MinerYang
- AllForNothing

numberOfAssignees: 3
18 changes: 18 additions & 0 deletions .github/workflows/auto_assign_prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "Auto Assign"

# pull_request_target means that this will run on pull requests, but in
# the context of the base repo. This should mean PRs from forks are supported.
on:
pull_request_target:
types: [opened, reopened, ready_for_review]

jobs:
# Automatically assigns reviewers and owner
add-reviews:
runs-on: ubuntu-latest
steps:
- name: Set the author of a PR as the assignee
uses: kentaro-m/[email protected]
with:
configuration-path: ".github/auto-assignees.yml"

0 comments on commit c5768c1

Please sign in to comment.