Skip to content

Commit

Permalink
add auto assign reviewer github action (#2854)
Browse files Browse the repository at this point in the history
* test: add auto assign reviewer github action

* TomShawn -> yikeke
  • Loading branch information
yikeke authored Jun 14, 2020
1 parent 968c891 commit bee56d8
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/assign-by-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# you can use glob pattern

# You can set multiple reviewers
# '.github/':
# - yikeke
# - ran-huang

# 'tiflash/':
# - zanmato1984
# - kissmydb
# - yikeke

# 'tiup/':
# - lonng
# - lucklove
# - kissmydb
# - yikeke

# 'sql-statements/':
# - bb7133

# 'releases/':
# - scsldb

# 'dashboard/':
# - breeswish

# 'config-templates/':
# - kissmydb

# 'ticdc/':
# - WangXiangUSTC

# Changing all md files should request a language review in case of format failures.
# TomShawn is the repo administrator.
'*.*':
- yikeke
15 changes: 15 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Auto Assign"
on:
pull_request:
branches:
- master
types: [opened]

jobs:
assign_reviewer:
runs-on: ubuntu-latest
steps:
- uses: shufo/auto-assign-reviewer-by-files@v1.0.0
with:
config: '.github/assign-by-files.yml'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bee56d8

Please sign in to comment.