mirror of
https://github.com/BrenBroZAYT/dashy.git
synced 2026-06-14 08:15:26 +00:00
👷 Adds GH action to assign reviewer based on code owner
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user