ci: Added workflow for adding reviewers to PR if ads folder changed (#14880)

Added workflow for adding reviwers to PR if ads folder chnaged
This commit is contained in:
albinAppsmith 2022-07-01 01:48:16 +05:30 committed by GitHub
parent 5e0677bc5d
commit 8c1a4af4b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

4
.github/reviewers.yml vendored Normal file
View File

@ -0,0 +1,4 @@
files:
'app/client/src/components/ads/**':
- albinAppsmith
- tanvibhakta

View File

@ -0,0 +1,22 @@
name: Add Design System Pod teammates as reviewers
on:
pull_request:
branches: [release]
types: [opened, reopened, edited]
# Change the working directory for all the jobs in this workflow
defaults:
run:
working-directory: app/client
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/auto-request-review@v0.7.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml # Config file location override