Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:construction_worker: Adds GH action to assign reviewer based on code owner

Alicia Sykes61a3e6ba5499
diff --git a/.github/workflows/assign-reviewer.yml b/.github/workflows/assign-reviewer.yml
new file mode 100644
index 00000000..f6f8d1a5
--- /dev/null
+++ b/.github/workflows/assign-reviewer.yml
@@ -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 }}