diff --git a/.evergreen/config.yml b/.evergreen/config.yml index ddb25ab3f..37494e631 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -2051,6 +2051,22 @@ tasks: - func: "attach benchmark test results" - 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: # Choice of distro - id: platform @@ -3019,6 +3035,12 @@ buildvariants: tasks: - 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 display_name: Release batchtime: 20160 # 14 days diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index a9d726b96..000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,2 +0,0 @@ -# Global owner for repo -* @mongodb/dbx-python diff --git a/.github/reviewers.txt b/.github/reviewers.txt new file mode 100644 index 000000000..9e38ee71b --- /dev/null +++ b/.github/reviewers.txt @@ -0,0 +1,5 @@ +# List of reviewers for auto-assignment of reviews. +caseyclements +blink1073 +Jibola +NoahStapp