mirror of
https://github.com/Lissy93/dashy.git
synced 2025-04-08 17:06:18 +02:00
👷 Adds GH action to assign reviewer based on code owner
This commit is contained in:
parent
179c9edbdf
commit
61a3e6ba54
13
.github/workflows/assign-reviewer.yml
vendored
Normal file
13
.github/workflows/assign-reviewer.yml
vendored
Normal file
@ -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…
x
Reference in New Issue
Block a user