mirror of https://github.com/Lissy93/dashy.git
👷 Adds GH action to assign reviewer based on code owner
This commit is contained in:
parent
179c9edbdf
commit
61a3e6ba54
|
@ -0,0 +1,13 @@
|
||||||
|
# Automatically assigns a reviewer to a PR, based on who owns the modified files
|
||||||
|
# Uses the ./.github/CODEOWNERS file to determine ownership of file patterns
|
||||||
|
on: [pull_request]
|
||||||
|
jobs:
|
||||||
|
autolabeler-codeowners:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Assign Reviewer
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Find code owner, assign reviewer
|
||||||
|
uses: pratikmallya/autolabeler-codeowners@master
|
||||||
|
with:
|
||||||
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue