Skip to content

Commit

Permalink
fix: use bubkoo/auto-assign
Browse files Browse the repository at this point in the history
  • Loading branch information
WuZhuoran committed Oct 9, 2020
1 parent a064055 commit 135c693
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: true
addAssignees: author

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- OzgurEraslan

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0
numberOfReviewers: 1

# A list of assignees, overrides reviewers if set
# assignees:
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/pr_auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Auto Assign

on:
pull_request_target:
types: [opened]
pull_request:
branches:
- master # when the PR destination is master, executed this workflow

jobs:
add-reviews:
run:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@eea5ee2e4421078bf163287c05e72d162781b30c
- uses: bubkoo/auto-assign@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: ".github/auto_assign.yml"

0 comments on commit 135c693

Please sign in to comment.