Skip to content

Commit

Permalink
Create workflow to automatically assign reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
skorulis-ap committed Dec 15, 2023
1 parent 62bfe7d commit dfd925d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
reviewers:
# The default reviewers
defaults:
- team:squareup/cash-ios-knit
16 changes: 16 additions & 0 deletions .github/workflows/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto Request Review

on:
pull_request:
types: [ready_for_review]

jobs:
auto-request-review:
name: Auto Request Review
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: necojackarc/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml # Config file location override

0 comments on commit dfd925d

Please sign in to comment.