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:
parent
5e0677bc5d
commit
8c1a4af4b9
4
.github/reviewers.yml
vendored
Normal file
4
.github/reviewers.yml
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
files:
|
||||||
|
'app/client/src/components/ads/**':
|
||||||
|
- albinAppsmith
|
||||||
|
- tanvibhakta
|
||||||
22
.github/workflows/design-system-reviewer.yml
vendored
Normal file
22
.github/workflows/design-system-reviewer.yml
vendored
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user