PYTHON-4243 Use GitHub App to Auto Assign Reviewer (#1539)
This commit is contained in:
parent
dc50cbd35a
commit
3510c4e5f6
@ -2051,6 +2051,22 @@ tasks:
|
|||||||
- func: "attach benchmark test results"
|
- func: "attach benchmark test results"
|
||||||
- func: "send dashboard data"
|
- func: "send dashboard data"
|
||||||
|
|
||||||
|
- name: "assign-pr-reviewer"
|
||||||
|
tags: ["pr"]
|
||||||
|
commands:
|
||||||
|
- command: shell.exec
|
||||||
|
type: test
|
||||||
|
params:
|
||||||
|
shell: "bash"
|
||||||
|
working_dir: src
|
||||||
|
script: |
|
||||||
|
${PREPARE_SHELL}
|
||||||
|
set -x
|
||||||
|
export CONFIG=$PROJECT_DIRECTORY/.github/reviewers.txt
|
||||||
|
export SCRIPT="$DRIVERS_TOOLS/.evergreen/github_app/assign-reviewer.sh"
|
||||||
|
bash $SCRIPT -p $CONFIG -h ${github_commit} -o "mongodb" -n "mongo-python-driver"
|
||||||
|
echo '{"results": [{ "status": "PASS", "test_file": "Build", "log_raw": "Test completed" } ]}' > ${PROJECT_DIRECTORY}/test-results.json
|
||||||
|
|
||||||
axes:
|
axes:
|
||||||
# Choice of distro
|
# Choice of distro
|
||||||
- id: platform
|
- id: platform
|
||||||
@ -3019,6 +3035,12 @@ buildvariants:
|
|||||||
tasks:
|
tasks:
|
||||||
- name: test_aws_lambda_task_group
|
- name: test_aws_lambda_task_group
|
||||||
|
|
||||||
|
- name: rhel8-pr-assign-reviewer
|
||||||
|
display_name: Assign PR Reviewer
|
||||||
|
run_on: rhel87-small
|
||||||
|
tasks:
|
||||||
|
- name: "assign-pr-reviewer"
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
display_name: Release
|
display_name: Release
|
||||||
batchtime: 20160 # 14 days
|
batchtime: 20160 # 14 days
|
||||||
|
|||||||
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@ -1,2 +0,0 @@
|
|||||||
# Global owner for repo
|
|
||||||
* @mongodb/dbx-python
|
|
||||||
5
.github/reviewers.txt
vendored
Normal file
5
.github/reviewers.txt
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# List of reviewers for auto-assignment of reviews.
|
||||||
|
caseyclements
|
||||||
|
blink1073
|
||||||
|
Jibola
|
||||||
|
NoahStapp
|
||||||
Loading…
Reference in New Issue
Block a user